Search Results

Search: Posts Made By: Pufo
6,886
Posted By Pufo
Bash script from makefile - it is called each time i call make
I've created a tag in the makefile:
mytag: $(shell ${PWD}/script.sh)

When i do: make clean - the script is executed

When i perform make or make mytag the script is again executed with the...
Forum: Programming 12-05-2011
46,552
Posted By Pufo
Which do you think is faster: jim mcnamara...
Which do you think is faster:

jim mcnamara version, or mine ?

unsigned long ms_uptime()
{
std::string script_loc, line;
script_loc = "/proc/uptime";
...
Forum: Programming 12-05-2011
46,552
Posted By Pufo
How to get uptime in miliseconds ?
I need to get, in my application, in different methods, the uptime of the system in milliseconds.

time() - returns only seconds.
/proc/uptime - returns the seconds + a truncated milliseconds...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 06:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy