Files
haiku-beta6/src/bin/system_time.cpp
T
Michael Lotz b11eb89c2d Add system_time bin command which just prints system_time().
This can be used by scripts to do verious performance measurements.
Specifically it can be used to measure the boot time since it represents
the uptime.
2015-08-29 19:15:47 +02:00

20 lines
291 B
C++

/*
* Copyright 2015 Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Michael Lotz, [email protected]
*/
#include <OS.h>
#include <stdio.h>
int
main(int argc, char* argv[])
{
printf("%" B_PRIdBIGTIME "\n", system_time());
return 0;
}