A* Pathfinding Project  4.1.2
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
Profile Class Reference

Public Member Functions

 Profile (string name)
 
void ConsoleLog ()
 Log using System.Console.
 
void Control (Profile other)
 
int ControlValue ()
 
void Log ()
 Log using Debug.Log.
 
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
 
List< float > samples = new List<float>()
 
long smem
 
readonly
System.Diagnostics.Stopwatch 
watch
 

Constructor & Destructor Documentation

Profile ( string  name)

Member Function Documentation

void ConsoleLog ( )

Log using System.Console.

void Control ( Profile  other)
int ControlValue ( )
void Log ( )

Log using Debug.Log.

void Run ( System.Action  action)
void Start ( )
void Stop ( )
void Stop ( int  control)
override string ToString ( )
static void WriteCSV ( string  path,
params Profile[]  profiles 
)
static

Member Data Documentation

int control = 1 << 30
private
int counter
private
const bool dontCountFirst = false
private
long mem
private
readonly string name
const bool PROFILE_MEM = false
private
List<float> samples = new List<float>()
private
long smem
private
readonly System.Diagnostics.Stopwatch watch
private

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