Add total timing
This commit is contained in:
parent
00537fa3ca
commit
dacc9ea5e1
|
@ -49,11 +49,12 @@ public class LightCommand
|
|||
public void Run()
|
||||
{
|
||||
Timing.Reset();
|
||||
|
||||
var lightMapper = new LightMapper(InstallPath, CampaignName, MissionName);
|
||||
lightMapper.Light(FastPvs);
|
||||
lightMapper.Save(OutputName);
|
||||
|
||||
Timing.TimeStage("Total", () =>
|
||||
{
|
||||
var lightMapper = new LightMapper(InstallPath, CampaignName, MissionName);
|
||||
lightMapper.Light(FastPvs);
|
||||
lightMapper.Save(OutputName);
|
||||
});
|
||||
Timing.LogAll();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue