new way of logging, some tags fixes
This commit is contained in:
parent
c5eafe7d98
commit
2c913d5f54
9 changed files with 253 additions and 68 deletions
6
main.cpp
6
main.cpp
|
@ -17,13 +17,13 @@ int main(int argc, char **argv) {
|
|||
}
|
||||
|
||||
const std::string firstArgument(argv[1]);
|
||||
const std::string secondArgument(argv[2]);
|
||||
|
||||
if (firstArgument == "--help") {
|
||||
printHelp();
|
||||
return 0;
|
||||
}
|
||||
|
||||
const std::string secondArgument(argv[2]);
|
||||
|
||||
TaskManager taskManager;
|
||||
taskManager.start();
|
||||
|
||||
|
@ -35,7 +35,7 @@ int main(int argc, char **argv) {
|
|||
taskManager.wait();
|
||||
std::chrono::time_point end = std::chrono::system_clock::now();
|
||||
std::chrono::duration<double> seconds = end - start;
|
||||
std::cout << std::endl << "took " << seconds.count() << std::endl;
|
||||
std::cout << std::endl << "Encoding is done, it took " << seconds.count() << " seconds in total, enjoy!" << std::endl;
|
||||
|
||||
taskManager.stop();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue