Update StopWatch use and containers submodule for 2.078.0

This commit is contained in:
Hackerpilot 2018-01-04 13:43:50 -08:00
parent 224174628c
commit 3bff0edd15
2 changed files with 4 additions and 4 deletions

@ -1 +1 @@
Subproject commit 2892cfc1e7a205d4f81af3970cbb53e4f365a765
Subproject commit 0ed30c2626270a18b420bc04143b7a9c2eea0f42

View File

@ -22,7 +22,7 @@ import core.sys.posix.sys.stat;
import std.algorithm;
import std.array;
import std.conv;
import std.datetime;
import std.datetime.stopwatch : AutoStart, StopWatch;
import std.exception : enforce;
import std.experimental.allocator;
import std.experimental.allocator.mallocator;
@ -177,7 +177,7 @@ int main(string[] args)
sw.stop();
info(cache.symbolsAllocated, " symbols cached.");
info("Startup completed in ", sw.peek().to!("msecs", float), " milliseconds.");
info("Startup completed in ", sw.peek().total!"msecs"(), " milliseconds.");
// No relative paths
version (Posix) chdir("/");
@ -286,7 +286,7 @@ int main(string[] args)
s.trySendResponse(findLocalUse(request, cache), "Couldnot find local usage");
sw.stop();
info("Request processed in ", sw.peek().to!("msecs", float), " milliseconds");
info("Request processed in ", sw.peek().total!"msecs"(), " milliseconds");
}
return 0;
}