# Unit Stats Start
Flags —
Native
|Action
|Restricted
Starts Unit Stats performance logging.
# Arguments
text
— test Nametext
— unit Nametext
— unit Food
Returns — void
native void UnitStatsStart(
text name,
text unitName,
text unitFood,
);
# Related
Category: Debug / Performance Testing
- [F] —
void
— Wait For Profiler Logging To End — ( WaitForProfilerLoggingToEnd ) - [F] —
void
— Profile Run Start — ( StartProfileRun ) - [F] —
void
— Profile Run Stop — ( StopProfileRun ) - [F] —
void
— Performance Test Start — ( PerfTestStart ) - [F] —
void
— Performance Test Stop — ( PerfTestStop ) - [F] —
void
— Performance Test Get FPS — ( PerfTestGetFPS ) - [F] —
void
— Unit Stats Start — ( UnitStatsStart ) - [F] —
void
— Unit Stats Stop — ( UnitStatsStop )
# Examples
# mods/heroesdata.stormmod
// L111
UnitStatsStart(StringToText(lp_name), StringExternal("Param/Value/lib_Sprt_4E3C325E"), StringExternal("Param/Value/lib_Sprt_22E09DDC"))