diff --git a/eval/SpawnALot.cpp b/eval/SpawnALot.cpp index 1bbe87430c7896055601c38f2c5fb98d541ad5cb..acf4645e1a1b8bf4a91aacee702321e463daa42a 100644 --- a/eval/SpawnALot.cpp +++ b/eval/SpawnALot.cpp @@ -129,7 +129,7 @@ int main(UNUSED_ARG int argc, UNUSED_ARG char *argv[]) { std::cout << "Spawn a lot of threads recursive (depth=" << depth << ", width=" << width << ") took " - << diff.count() << "us" + << diff.count() << " ns" << std::endl; start = std::chrono::high_resolution_clock::now(); @@ -138,7 +138,7 @@ int main(UNUSED_ARG int argc, UNUSED_ARG char *argv[]) { diff = std::chrono::duration_cast<std::chrono::nanoseconds>(end -start); std::cout << "Spawn a lot of threads non-recursive (count=" << count << ") took " - << diff.count() << "us" + << diff.count() << " ns" << std::endl; Runtime runtime; @@ -151,7 +151,7 @@ int main(UNUSED_ARG int argc, UNUSED_ARG char *argv[]) { std::cout << "Spawn a lot of fibers recursive (depth=" << depth << ", width=" << width << ") took " - << diff.count() << "us" + << diff.count() << " ns" << std::endl; start = std::chrono::high_resolution_clock::now(); @@ -160,7 +160,7 @@ int main(UNUSED_ARG int argc, UNUSED_ARG char *argv[]) { diff = std::chrono::duration_cast<std::chrono::nanoseconds>(end -start); std::cout << "Spawn a lot of fibers non-recursive (count=" << count << ") took " - << diff.count() << "us" + << diff.count() << " ns" << std::endl; }); diff --git a/eval/TimeToSpawn.cpp b/eval/TimeToSpawn.cpp index 9d1046fae921b40f015fe0985750f5731f1aab93..5e6bb532119ff62bc49b4a1f549c6533f9757cf9 100644 --- a/eval/TimeToSpawn.cpp +++ b/eval/TimeToSpawn.cpp @@ -51,14 +51,14 @@ int main(UNUSED_ARG int argc, UNUSED_ARG char *argv[]) { { auto ttts = threadTimeToSpawn(); std::cout << "Thread time to spawn: " - << ttts.count() << "us" + << ttts.count() << " ns" << std::endl; } { auto ftts = fiberTimeToSpawn(); std::cout << "Fiber time to spawn: " - << ftts.count() << "us" + << ftts.count() << " ns" << std::endl; } }