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