mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
another test of stupid script
This commit is contained in:
parent
b28e212073
commit
afb4f1d8fa
@ -35,7 +35,6 @@ int main(int argc, char* argv[])
|
|||||||
for(unsigned int i = 1; i <= howmany ; ++i)
|
for(unsigned int i = 1; i <= howmany ; ++i)
|
||||||
my_logger.info() << "Hello logger: " << i;
|
my_logger.info() << "Hello logger: " << i;
|
||||||
|
|
||||||
|
|
||||||
auto s = howmany - as->q().size();
|
auto s = howmany - as->q().size();
|
||||||
auto delta = system_clock::now() - start;
|
auto delta = system_clock::now() - start;
|
||||||
auto delta_d = duration_cast<duration<double>> (delta).count();
|
auto delta_d = duration_cast<duration<double>> (delta).count();
|
||||||
@ -43,7 +42,6 @@ int main(int argc, char* argv[])
|
|||||||
cout_logger.info() << "Total:" << format(s);
|
cout_logger.info() << "Total:" << format(s);
|
||||||
cout_logger.info() << "Delta:" << format(delta_d);
|
cout_logger.info() << "Delta:" << format(delta_d);
|
||||||
cout_logger.info() << "Rate:" << format(s/delta_d) << "/sec";
|
cout_logger.info() << "Rate:" << format(s/delta_d) << "/sec";
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user