gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gm2] value of maxSecondParts in SysClock.def


From: Riedl, Udo-Michael
Subject: [Gm2] value of maxSecondParts in SysClock.def
Date: Mon, 8 Feb 2016 20:26:41 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

Hallo,

just noticed a small hurdle. In SysClock.def I find "CONST maxSecondParts = 1000000;" Value should be 100 on an Intel CPU based system, that's at least what the following tells me

#include <stdio.h>
#include <unistd.h>
void main()
{
      long int ClkTck;
      ClkTck = sysconf(_SC_CLK_TCK);
      printf("\n\n %s %12ld\n\n","CLK_TCK = ",ClkTck);
}

The value is by sure OS / machine depended - maybe needs to be set different
on different platform a compile time.

Cheers

Michael




reply via email to

[Prev in Thread] Current Thread [Next in Thread]