startSignalCounter(timerMiliSec);
if (!rtcHz) startSignalCounter(timerMiliSec);
static void StackHook(int signum,siginfo_t *info,void *mystry){    static struct timeval tFirst;    static int first=1;    size_t milisec;    if(first && !(first=0)) {        writeStrStdout("Jprof: received first timer signal\n");        gettimeofday(&tFirst, 0);        milisec = 0;    } else {	struct timeval tNow;        gettimeofday(&tNow, 0);	double usec = 1e6*(tNow.tv_sec - tFirst.tv_sec);	usec += (tNow.tv_usec - tFirst.tv_usec);	milisec = static_cast<size_t>(usec*1e-3);    }#ifdef JPROF_PTHREAD_HACK    Log(milisec, NULL);#else    // The mystry[19] thing is a hack to figure out where we were called from.    // By playing around with the debugger it looks like [19] contains the    // information I need.    // it's really ((ucontext_t *)mystry)->uc_mcontext.gregs[14] which is    // the EIP register when the handler was called    Log(milisec, ((char**)mystry)[19]);#endif    startSignalCounter(timerMiliSec);}