# Performance Test Get FPS
Grammar — Performance Test Get FPS
Flags —Native
|Action
|Restricted
Returns — void
native void PerfTestGetFPS();
# Related
Category: Debug / Performance Testing
- Wait For Profiler Logging To End —
void
— WaitForProfilerLoggingToEnd - Profile Run Start —
void
— StartProfileRun - Profile Run Stop —
void
— StopProfileRun - Performance Test Start —
void
— PerfTestStart - Performance Test Stop —
void
— PerfTestStop - Performance Test Get FPS —
void
— PerfTestGetFPS - Unit Stats Start —
void
— UnitStatsStart - Unit Stats Stop —
void
— UnitStatsStop
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:17967
}
PerfTestGetFPS();
return true;
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:17967
}
PerfTestGetFPS();
return true;
}
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:14397
while (true) {
PerfTestGetFPS();
Wait(0.5, c_timeGame);
}
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:7392
while (true) {
PerfTestGetFPS();
Wait(0.06, c_timeGame);
}
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:2095
}
PerfTestGetFPS();
return true;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:33778
while (true) {
Wait(1.0, c_timeReal);
PerfTestGetFPS();
}
return true;
mods/testmods/autopve.stormmod — base.stormdata/Lib1035AFB3.galaxy:335
}
PerfTestGetFPS();
return true;
}