Logo
Public Member Functions | List of all members
Yukar.Engine.ProcessingTimeLoger Class Reference

Elapsed time log More...

Public Member Functions

 ProcessingTimeLoger ()
 constructor More...
 
void Start (string name)
 Start measurement

Parameters
namesave name
More...
 
double Stop ()
 end the measurement More...
 
double Reset ()
 Stop measurement and initialize the elapsed time More...
 
double ReStart (string name)
 Stop measurement, initialize the elapsed time, and then start measurement again. More...
 
List< LogPropertyGetLogAsSecond ()
 return logs in seconds More...
 
List< LogPropertyGetLogAsMilliSecond ()
 return logs in milliseconds More...
 
List< LogPropertyGetLogAsNanoSecond ()
 return log in nanoseconds More...
 
List< LogPropertyGetLogAsTick ()
 return log in nanoseconds More...
 
void ClearLog ()
 clear log More...
 

Detailed Description

Elapsed time log

Constructor & Destructor Documentation

◆ ProcessingTimeLoger()

Yukar.Engine.ProcessingTimeLoger.ProcessingTimeLoger ( )

constructor

Member Function Documentation

◆ ClearLog()

void Yukar.Engine.ProcessingTimeLoger.ClearLog ( )

clear log

◆ GetLogAsMilliSecond()

List< LogProperty > Yukar.Engine.ProcessingTimeLoger.GetLogAsMilliSecond ( )

return logs in milliseconds

Returns
log

◆ GetLogAsNanoSecond()

List< LogProperty > Yukar.Engine.ProcessingTimeLoger.GetLogAsNanoSecond ( )

return log in nanoseconds

Returns
log

◆ GetLogAsSecond()

List< LogProperty > Yukar.Engine.ProcessingTimeLoger.GetLogAsSecond ( )

return logs in seconds

Returns
log

◆ GetLogAsTick()

List< LogProperty > Yukar.Engine.ProcessingTimeLoger.GetLogAsTick ( )

return log in nanoseconds

Returns
log

◆ Reset()

double Yukar.Engine.ProcessingTimeLoger.Reset ( )

Stop measurement and initialize the elapsed time

Returns
Elapsed time before initialization (ticks)

◆ ReStart()

double Yukar.Engine.ProcessingTimeLoger.ReStart ( string  name)

Stop measurement, initialize the elapsed time, and then start measurement again.

Parameters
namename
Returns
Elapsed time before initialization (ticks)

◆ Start()

void Yukar.Engine.ProcessingTimeLoger.Start ( string  name)

Start measurement

Parameters
namesave name

◆ Stop()

double Yukar.Engine.ProcessingTimeLoger.Stop ( )

end the measurement

Returns
Elapsed time (ticks)