About gethrtime() function
804536Jan 18 2013 — edited Jan 18 2013Hello:
First of all, I apologize if this is not the adequate forum for this question. I'm trying to use the gethrtime() in order to compute proccesing times. I'm using Solaris Studio 12.3 in a LINUX box. The problem is that I obtain ans error (undefined definition of the function and linker error). So my question is:
Is the gethrtime() a specific function of Solaris OS or comes with Solaris compilers. As I obtain an undefined definition error I suppose that it not belongs with the compiler (I have included sys/time.h)
I'm trying to use too the clock_gettime() function, but I obtain errors. This function should be declared in unistd.h header, but apparently does not exists in solaris Studio conpiler. Am I right?
Thanks
Edited by: 801533 on 18-ene-2013 6:41