A* Pathfinding Project  4.1.11
The A* Pathfinding Project for Unity 3D
Profile Class Reference

Public Member Functions

 Profile (string name)
 
void ConsoleLog ()
 Log using System.Console. More...
 
void Control (Profile other)
 
int ControlValue ()
 
void Log ()
 Log using Debug.Log. More...
 
void Run (System.Action action)
 
void Start ()
 
void Stop ()
 
void Stop (int control)
 
override string ToString ()
 

Static Public Member Functions

static void WriteCSV (string path, params Profile[] profiles)
 

Public Attributes

readonly string name
 

Private Attributes

int control = 1 << 30
 
int counter
 
const bool dontCountFirst = false
 
long mem
 
const bool PROFILE_MEM = false
 
long smem
 
readonly System.Diagnostics.Stopwatch watch
 

Constructor & Destructor Documentation

◆ Profile()

Profile ( string  name)

Member Function Documentation

◆ ConsoleLog()

void ConsoleLog ( )

Log using System.Console.

◆ Control()

void Control ( Profile  other)

◆ ControlValue()

int ControlValue ( )

◆ Log()

void Log ( )

Log using Debug.Log.

◆ Run()

void Run ( System.Action  action)

◆ Start()

void Start ( )

◆ Stop() [1/2]

void Stop ( )

◆ Stop() [2/2]

void Stop ( int  control)

◆ ToString()

override string ToString ( )

◆ WriteCSV()

static void WriteCSV ( string  path,
params Profile []  profiles 
)
static

Member Data Documentation

◆ control

int control = 1 << 30
private

◆ counter

int counter
private

◆ dontCountFirst

const bool dontCountFirst = false
private

◆ mem

long mem
private

◆ name

readonly string name

◆ PROFILE_MEM

const bool PROFILE_MEM = false
private

◆ smem

long smem
private

◆ watch

readonly System.Diagnostics.Stopwatch watch
private

The documentation for this class was generated from the following file: