프로퍼티 | 타입 | 설명 | |
---|---|---|---|
CurrentTime | double |
메소드 | 설명 | |
---|---|---|
CreateXmlSumTimeSectionReport ( string fileName ) : void | ||
GetPersistentTimedSections ( ) : string | ||
GetSumTimedSections ( ) : string | ||
GetTimedSectionList ( ) : List |
||
GetTimedSections ( bool showTotal ) : string | ||
Initialize ( ) : void |
Allows the game component to perform any initialization it needs to before starting to run. This is where it can query for any required services and load content.
|
|
InitializeStopwatch ( ) : void | ||
PersistentTimeSection ( string label ) : void | ||
SecondsSince ( double absoluteTime ) : double | ||
StartPersistentTiming ( ) : void | ||
StartSumTiming ( ) : void |
Begins Sum Timing
|
|
SumTimeRefresh ( ) : void | ||
SumTimeSection ( string label ) : void | ||
TimeSection ( ) : void |
Stores an unnamed timed section. A timed section is the amount of time (in seconds) since the last time either Update or TimeSection has been called. The sections are reset every time Update is called. The sections can be retrieved through the GetTimedSections method. FRB.TimeManager.GetTimedSection |
|
TimeSection ( string label ) : void |
Stores an named timed section. A timed section is the amount of time (in seconds) since the last time either Update or TimeSection has been called. The sections are reset every time Update is called. The sections can be retrieved through the GetTimedSections method. FRB.TimeManager.GetTimedSection |
|
Update ( |
Performs every-frame logic to update timing values such as CurrentTime and SecondDifference. If this method is not called, CurrentTime will not advance.
|
public static CreateXmlSumTimeSectionReport ( string fileName ) : void | ||
fileName | string | |
리턴 | void |
public static GetPersistentTimedSections ( ) : string | ||
리턴 | string |
public static GetTimedSections ( bool showTotal ) : string | ||
showTotal | bool | |
리턴 | string |
public static PersistentTimeSection ( string label ) : void | ||
label | string | |
리턴 | void |
public static SecondsSince ( double absoluteTime ) : double | ||
absoluteTime | double | |
리턴 | double |
public static SumTimeSection ( string label ) : void | ||
label | string | |
리턴 | void |
public static TimeSection ( string label ) : void | ||
label | string | The label for the timed section. |
리턴 | void |
public static Update ( |
||
time | The GameTime value provided by the XNA Game class. | |
리턴 | void |