100+ results results for '_SC_CLK_TCK' (42 ms)
57 58#if defined(_SC_CLK_TCK) || !defined(CLK_TCK) 59 clk_tck = sysconf(_SC_CLK_TCK);test41.c https://gitlab.com/storedmirrors/minix | C | 389 lines
76 77 system_hz = sysconf(_SC_CLK_TCK); 78time.h https://gitlab.com/mbalamat/minix | C Header | 234 lines
118 * CLK_TCK uses libc's internal __sysconf() to retrieve the machine's 119 * HZ. The value of _SC_CLK_TCK is 39 -- we hard code it so we do not 120 * need to include unistd.hunistd.h https://github.com/xifedI/haiku.git | C Header | 293 lines
87#define _SC_CHILD_MAX 16 88#define _SC_CLK_TCK 17 89#define _SC_JOB_CONTROL 18cpu_timer.cpp https://gitlab.com/0072016/0072016-ApplePayDevice- | C++ | 261 lines
102 { 103 if ((tick_factor = ::sysconf(_SC_CLK_TCK)) <= 0) 104 tick_factor = -1;muesli-tests.c git://git.savannah.nongnu.org/muesli.git | C | 301 lines
93 if (seconds > 0) { 94 int ticks_per_sec = sysconf(_SC_CLK_TCK); 95sysconf.c https://gitlab.com/gsauthof/musl | C | 219 lines
29 [_SC_CHILD_MAX] = RLIM(NPROC), 30 [_SC_CLK_TCK] = 100, 31 [_SC_NGROUPS_MAX] = 32,Sysconf.java https://github.com/jnr/jnr-constants.git | Java | 268 lines
6_SC_CHILD_MAX(2L), 7_SC_CLK_TCK(3L), 8_SC_NGROUPS_MAX(4L), 143 map.put(_SC_CHILD_MAX, "_SC_CHILD_MAX"); 144 map.put(_SC_CLK_TCK, "_SC_CLK_TCK"); 145 map.put(_SC_NGROUPS_MAX, "_SC_NGROUPS_MAX");format_pcm.c https://github.com/claymodel/voip-foip.git | C | 510 lines
72 } 73 return cur * 1000 / sysconf( _SC_CLK_TCK ); 74}virhostcputest.c https://gitlab.com/tiagoor/libvirt | C | 269 lines
74 75# define TICK_TO_NSEC (1000ull * 1000ull * 1000ull / sysconf(_SC_CLK_TCK)) 76time.h https://github.com/iriina/DragonFlyBSD.git | C Header | 176 lines
52 * Frequency of the clock ticks reported by times(). Deprecated - use 53 * sysconf(_SC_CLK_TCK) instead. (Removed in 1003.1-2001.) 54 */process_cpu_clocks.hpp https://bitbucket.org/codingwizard/omxplayer_rpi_copy.git | C++ Header | 331 lines
33 { 34 if ((factor = ::sysconf(_SC_CLK_TCK)) <= 0) 35 factor = -1;sysconf.h http://microsea.googlecode.com/svn/trunk/ | C Header | 143 lines
4#define _SC_CHILD_MAX 1 5#define _SC_CLK_TCK 2 6#define _SC_NGROUPS_MAX 3usctest.h https://bitbucket.org/bathtub/rose.git | C Header | 329 lines
88 89#ifndef _SC_CLK_TCK 90#include <unistd.h>config.h https://github.com/openhealth/rhodes.git | C Header | 248 lines
221#define FILE_READPTR _p 222#define HAVE__SC_CLK_TCK 1 223#define STACK_GROW_DIRECTION -1main_tang.cpp https://github.com/rrnewton/PochoirMods.git | C++ | 245 lines
224void MAIN_startClock( MAIN_Time* time ) { 225 time->timeScale = 1.0 / sysconf( _SC_CLK_TCK ); 226 time->tickStart = times( &(time->timeStart) );os.c git://pkgs.fedoraproject.org/meataxe | C | 435 lines
120 if (clk_tck == 0) 121 clk_tck = sysconf(_SC_CLK_TCK); 122 times(&t);timevar.c https://github.com/okuoku/freebsd-head.git | C | 503 lines
55 We mustn't use CLOCKS_PER_SEC except with clock(). */ 56#if HAVE_SYSCONF && defined _SC_CLK_TCK 57# define TICKS_PER_SECOND sysconf (_SC_CLK_TCK) /* POSIX 1003.1-1996 */init.c https://bitbucket.org/cdcs/leon-rtems.git | C | 88 lines
45 46 sc = sysconf( _SC_CLK_TCK ); 47 printf( "sysconf - _SC_CLK_TCK=%ld\n", sc );unistd.h https://github.com/SQGiggsHuang/ecosgit.git | C Header | 276 lines
150#define _SC_CHILD_MAX 6 151#define _SC_CLK_TCK 7 152#define _SC_DELAYTIMER_MAX 8fpm_scoreboard.c https://bitbucket.org/luobailiang/php-src.git | C | 328 lines
30#ifdef HAVE_TIMES 31#if (defined(HAVE_SYSCONF) && defined(_SC_CLK_TCK)) 32 fpm_scoreboard_tick = sysconf(_SC_CLK_TCK); 32 fpm_scoreboard_tick = sysconf(_SC_CLK_TCK); 33#else /* _SC_CLK_TCK */ 34#ifdef HZ 38#endif /* HZ */ 39#endif /* _SC_CLK_TCK */ 40 zlog(ZLOG_DEBUG, "got clock tick '%.0f'", fpm_scoreboard_tick);OSD_Chronometer.cxx https://github.com/AsherBond/MondocosmOS.git | C++ | 272 lines
63#if defined(LIN) || defined(linux) || defined(__FreeBSD__) 64 static const long aCLK_TCK = sysconf(_SC_CLK_TCK); 65#elsevmstat.c https://bitbucket.org/dilos/onarm-gate | C | 545 lines
69 pagesize = sysconf(_SC_PAGESIZE); 70 hz = sysconf(_SC_CLK_TCK); 71runtime.c https://github.com/kfl/mosml.git | C | 326 lines
272 273 long persec = sysconf(_SC_CLK_TCK); 274 times(&buffer); 306 307 long persec = sysconf(_SC_CLK_TCK); 308 times(&buffer);gmcpubar.c https://github.com/vmj/gmbar.git | C | 360 lines
124 /* Clock ticks per second (per CPU) */ 125 total = sysconf(_SC_CLK_TCK); 126internal_linux.cc https://gitlab.com/jonnialva90/iridium-browser | C++ | 188 lines
180 // It may be the case that this value is always 100. 181 static const int kHertz = sysconf(_SC_CLK_TCK); 182AppMonitor.java https://bitbucket.org/yihuaqi/appmonitor.git | Java | 270 lines
131 try { 132 final int tckName = Class.forName("libcore.io.OsConstants").getField("_SC_CLK_TCK").getInt(null); 133 final Object os = Class.forName("libcore.io.Libcore").getField("os").get(null);test.c https://repo.or.cz/barvinok/uuh.git | C | 272 lines
17{ 18 long ticks = sysconf(_SC_CLK_TCK); 19 printf("User: %g; Sys: %g\n",platform_darwin.cc https://github.com/rootslab/node.git | C++ | 227 lines
94 Local<Object> cputimes; 95 unsigned int ticks = (unsigned int)sysconf(_SC_CLK_TCK), 96 multiplier = ((uint64_t)1000L / ticks);stopwatch.cpp https://github.com/aptana/Jaxer.git | C++ | 265 lines
25#ifdef R__UNIX 26 if (!gTicks) gTicks = (clock_t)sysconf(_SC_CLK_TCK); 27#endifplatform_openbsd.cc https://github.com/rootslab/node.git | C++ | 177 lines
99 Local<Object> cputimes; 100 unsigned int ticks = (unsigned int)sysconf(_SC_CLK_TCK), 101 multiplier = ((uint64_t)1000L / ticks), cpuspeed;menu.h git://pkgs.fedoraproject.org/syslinux | C Header | 237 lines
35#ifndef CLK_TCK 36# define CLK_TCK sysconf(_SC_CLK_TCK) 37#endifindex.c https://github.com/peper/pizza.git | C | 189 lines
32#ifdef INDEXREPORT 33 ticks= sysconf(_SC_CLK_TCK); 34 times(&time); t1 = time.tms_utime;config.m4 https://github.com/logicsurge/logic-for-php.git | m4 | 470 lines
346 347 AC_TRY_COMPILE([ #include <unistd.h> ], [sysconf(_SC_CLK_TCK);], [ 348 AC_DEFINE([HAVE_SYSCONF], 1, [do we have sysconf?])ProcStats.cpp https://bitbucket.org/binet/gaudi | C++ | 355 lines
68 utime %lu Amount of time that this process has been scheduled in user mode, 69 measured in clock ticks (divide by sysconf(_SC_CLK_TCK). This 70 includes guest time, guest_time (time spent running a virtual CPU, 74 stime %lu Amount of time that this process has been scheduled in kernel 75 mode, measured in clock ticks (divide by sysconf(_SC_CLK_TCK). 76 78 scheduled in user mode, measured in clock ticks (divide by 79 sysconf(_SC_CLK_TCK). (See also times(2).) This includes guest 80 time, cguest_time (time spent running a virtual CPU, see below). 83 scheduled in kernel mode, measured in clock ticks (divide by 84 sysconf(_SC_CLK_TCK). 85 187 guest operating system), measured in clock ticks (divide by 188 sysconf(_SC_CLK_TCK). 189tcpstat.c https://bitbucket.org/gthummalapalle/project3.git | C | 342 lines
58 59 system_hz = (u32_t) sysconf(_SC_CLK_TCK); 60ticks.c https://gitlab.com/d.esterman/ba-phmf | C | 93 lines
90{ 91 return (int)sysconf(_SC_CLK_TCK); 92}system.c git://github.com/adh/dfsch.git | C | 269 lines
264 dfsch_defcanon_cstr(ctx, "internal-time-units-per-second", 265 dfsch_make_number_from_long(sysconf(_SC_CLK_TCK))); 266#endifTimer.cpp https://github.com/sofian/drone.git | C++ | 121 lines
67 68 float norm = (float)sysconf(_SC_CLK_TCK); 69 return(((float)current.tms_utime)/norm);csystem.c https://github.com/mbrock/bigloo-llvm.git | C | 418 lines
292 293 if( !ctick ) ctick = sysconf( _SC_CLK_TCK ); 294freebsd.c https://bitbucket.org/wwag110465/node.git | C | 343 lines
233uv_err_t uv_cpu_info(uv_cpu_info_t** cpu_infos, int* count) { 234 unsigned int ticks = (unsigned int)sysconf(_SC_CLK_TCK), 235 multiplier = ((uint64_t)1000L / ticks), cpuspeed, maxcpus,hrtimer.cpp https://gitlab.com/cdeclare/intcrypt | C++ | 142 lines
134#elif defined(CRYPTOPP_UNIX_AVAILABLE) 135 static const long ticksPerSecond = sysconf(_SC_CLK_TCK); 136 return ticksPerSecond;auxv.h https://github.com/richlowe/illumos-gate.git | C Header | 220 lines
105 * AT_HWCAP 16 106 * AT_CLKTCK 17 c.f. _SC_CLK_TCK 107 * AT_FPUCW 18procstat.c https://github.com/rsd/artica-1.5.git | C | 240 lines
135int main(int argc, char *argv[]) { 136 tickspersec = sysconf(_SC_CLK_TCK); 137 input = NULL;getruntime.c http://opensource.apple.com/release/ios-511/ | C | 141 lines
89 90#<span class="enscript-reference">ifdef</span> <span class="enscript-variable-name">_SC_CLK_TCK</span> 91#<span class="enscript-reference">define</span> <span class="enscript-variable-name">GNU_HZ</span> sysconf(_SC_CLK_TCK)limits.h git://github.com/mooseman/plan_42.git | C Header | 225 lines
199extern long _sysconf(int); /* System Private interface to sysconf() */ 200#define CLK_TCK _sysconf(3) /* 3 is _SC_CLK_TCK */ 201#endifSTROPTS.py https://github.com/seanjensengrey/CPython.git | Python | 328 lines
107_SC_CHILD_MAX = 2 108_SC_CLK_TCK = 3 109_SC_NGROUPS_MAX = 4sysconf.h https://bitbucket.org/cyanogenmod/android_prebuilts_ndk.git | C Header | 135 lines
43#define _SC_CHILD_MAX 0x0005 44#define _SC_CLK_TCK 0x0006 45#define _SC_COLL_WEIGHTS_MAX 0x0007kcutil.cc https://github.com/albertz/png-db.git | C++ | 316 lines
49#else 50const int32_t CLOCKTICK = sysconf(_SC_CLK_TCK); 51#endifoprof_start_util.cpp https://bitbucket.org/thelearninglabs/uclinux-distro-tll-public.git | C++ | 330 lines
85 86 HZ = sysconf(_SC_CLK_TCK); 87 if (HZ == -1) {sysconf.c https://github.com/kripken/emscripten.git | C | 274 lines
131 _SC_COLL_WEIGHTS_MAX, 132 _SC_CLK_TCK, 133 _SC_HOST_NAME_MAX, 255 "_SC_COLL_WEIGHTS_MAX", 256 "_SC_CLK_TCK", 257 "_SC_HOST_NAME_MAX",unistd.h https://github.com/illumos/illumos-gate.git | C Header | 418 lines
107#define _SC_CHILD_MAX 2 108#define _SC_CLK_TCK 3 109#define _SC_NGROUPS_MAX 4x_misc.c https://github.com/bryansum/pdlib.git | C | 324 lines
27#if defined (__linux__) 28#define CLOCKHZ sysconf(_SC_CLK_TCK) 29#endifbase.patch https://github.com/aszeszo/userland.git | Patch | 506 lines
94 IStat.no_cpus = sysconf(_SC_NPROCESSORS_ONLN); 95 IStat.no_ticks = sysconf(_SC_CLK_TCK); 96 } 194+ 195+#define NSEC_TO_TICK(v) (v * sysconf(_SC_CLK_TCK)/1000000000) 196+com_android_internal_os_KernelSingleProcessCpuThreadReader.cpp https://github.com/android/platform_frameworks_base.git | C++ | 333 lines
37// Number of milliseconds in a jiffy - the unit of time measurement for processes and threads 38static const uint32_t gJiffyMillis = (uint32_t)(1000 / sysconf(_SC_CLK_TCK)); 39main.c https://github.com/psycho-nico/ummd.git | C | 541 lines
204 core_priv->max_sock = 0; 205 core_priv->system_tick = sysconf(_SC_CLK_TCK); 206 core_priv->curr_time = my_core_get_time_msec(core);main.c https://github.com/jeremie-koenig/hurd.git | C | 190 lines
104 "Unit used for the values expressed in system clock ticks " 105 "(default: sysconf(_SC_CLK_TCK))" }, 106 { "stat-mode", 's', "MODE", 0, 162 163 opt_clk_tck = sysconf(_SC_CLK_TCK); 164 opt_stat_mode = 0400;time.h https://bitbucket.org/a3217055/illumos-2.git | C Header | 87 lines
59extern long sysconf(/* int name */); 60#define _SC_CLK_TCK 3 /* clock ticks/sec */ 61/* 65 */ 66#define CLK_TCK (sysconf(_SC_CLK_TCK)) 67/* 881207 ANSI C draft uses CLOCKS_PER_SEC to specify units used by clock(3). */unistd.c https://bitbucket.org/tifan/cde.git | C | 327 lines
256 printf("#define _SC_CHILD_MAX %ld\n", (long)_SC_CHILD_MAX); 257#ifndef _SC_CLK_TCK 258#define _SC_CLK_TCK (-3) 259#endif 260 printf("#define _SC_CLK_TCK %ld\n", (long)_SC_CLK_TCK); 261#ifndef _SC_NGROUPS_MAXcputime.c https://harbour-project.svn.sourceforge.net/svnroot/harbour-project | C | 194 lines
121 /* d /= CLK_TCK; */ 122 d /= ( double ) sysconf( _SC_CLK_TCK ); 123 }seconds.c https://harbour-project.svn.sourceforge.net/svnroot/harbour-project | C | 208 lines
168 /* d /= CLK_TCK; */ 169 d /= (double) sysconf(_SC_CLK_TCK); 170 }posixtime.h https://github.com/nubecoder/android_bash.git | C Header | 49 lines
38 39#if !defined (HAVE_SYSCONF) || !defined (_SC_CLK_TCK) 40# if !defined (CLK_TCK) 46# endif /* !CLK_TCK */ 47#endif /* !HAVE_SYSCONF && !_SC_CLK_TCK */ 48CpuFreqParser.cpp https://gitlab.com/SkyDragon-OSP/platform_frameworks_base | C++ | 90 lines
63 64 long jiffyHz = sysconf(_SC_CLK_TCK); 65 proto.write(CpuFreqProto::JIFFY_HZ, (int)jiffyHz);timef.c https://bitbucket.org/osunix/open64 | C | 234 lines
102 if (_sec_per_clock == 0.0) 103 _sec_per_clock = 1.0 / (double) sysconf(_SC_CLK_TCK); 104SysconfName.cs git://github.com/ayende/ravendb.git | C# | 210 lines
6 _SC_CHILD_MAX, 7 _SC_CLK_TCK, 8 _SC_NGROUPS_MAX,sysconf.c https://github.com/cpc26/abi_linux.git | C | 197 lines
56#define _SC_CHILD_MAX 1 57#define _SC_CLK_TCK 2 58#define _SC_NGROUPS_MAX 3 158 159 case _SC_CLK_TCK: 160 return (HZ);sysconf.c https://github.com/hjl-tools/glibc.git | C | 279 lines
152 case _SC_CHILD_MAX: 153 case _SC_CLK_TCK: 154 case _SC_NGROUPS_MAX:system.h https://github.com/GNA-SERVICES-INC/MoNGate.git | C Header | 105 lines
96#ifndef HAVE_SYSCONF 97#define _SC_CLK_TCK 2 98long sysconf(int) __attribute__((__noreturn__));Timing.h https://gitlab.com/schiotz/asap.git | C Header | 311 lines
128 global->Start(); 129 Timing_Resolution = sysconf(_SC_CLK_TCK); 130 Timing_metatimer = new Timing_timer("Timing overhead");freq-step.c https://github.com/kvaneesh/linux.git | C | 263 lines
221 222 user_hz = sysconf(_SC_CLK_TCK); 223time.h https://gitlab.com/Namal/glibc | C Header | 101 lines
55extern long int __sysconf (int); 56# define CLK_TCK ((__clock_t) __sysconf (2)) /* 2 is _SC_CLK_TCK */ 57# endifunistd.h https://github.com/ryanbarry/CS170-Project-3.git | C Header | 228 lines
64#define _SC_CLOCKS_PER_SEC 3 65#define _SC_CLK_TCK 3 66#define _SC_NGROUPS_MAX 4basic.cpp https://gitlab.com/life436/tortoisegit | C++ | 357 lines
76 77double OGDF_clk_tck = sysconf(_SC_CLK_TCK); //is long. but definig it here avoids casts... 78#endifibcs2_unistd.h https://github.com/okuoku/freebsd-head.git | C Header | 76 lines
52#define IBCS2_SC_CHILD_MAX 1 53#define IBCS2_SC_CLK_TCK 2 54#define IBCS2_SC_NGROUPS_MAX 3timer.cc git://pkgs.fedoraproject.org/mingw-w64-tools | C++ | 132 lines
60 61#if HAVE_SYSCONF && defined _SC_CLK_TCK 62# define TICKS_PER_SECOND sysconf (_SC_CLK_TCK) /* POSIX 1003.1-1996 */linux.hpp https://gitlab.com/wilane/mesos | C++ Header | 170 lines
92 // Number of clock ticks per second, used for cpu accounting. 93 static const long ticks = sysconf(_SC_CLK_TCK); 94 if (ticks <= 0) { 94 if (ticks <= 0) { 95 return Error("Failed to get sysconf(_SC_CLK_TCK)"); 96 }unistd.h https://github.com/rofl0r/musl-old.git | C Header | 473 lines
227#define _SC_CHILD_MAX 1 228#define _SC_CLK_TCK 2 229#define _SC_NGROUPS_MAX 3gettickcount.c https://github.com/muromec/qtopia-ezx.git | C | 200 lines
76 if (clockTicksPerSec == 0) 77 clockTicksPerSec = (ULONG32)sysconf(_SC_CLK_TCK); 78 return clockTicksPerSec;sysconf.c https://bitbucket.org/gthummalapalle/project3.git | C | 415 lines
96 return (getrlimit(RLIMIT_NPROC, &rl) ? -1 : (long)rl.rlim_cur); 97 case _O_SC_CLK_TCK: 98 /* 102 return 100; 103 case _SC_CLK_TCK: 104 /*linux.hh https://gitlab.com/mauro.belluschi/0-stats | C++ Header | 244 lines
139 /// Clock ticks per second, for times(). 140 static const int M5_SC_CLK_TCK = 100; 141Sysconf.java https://github.com/jnr/jnr-constants.git | Java | 278 lines
6_SC_CHILD_MAX(1L), 7_SC_CLK_TCK(2L), 8_SC_NGROUPS_MAX(3L), 143 map.put(_SC_CHILD_MAX, "_SC_CHILD_MAX"); 144 map.put(_SC_CLK_TCK, "_SC_CLK_TCK"); 145 map.put(_SC_NGROUPS_MAX, "_SC_NGROUPS_MAX");hpux.c https://github.com/ppanhoto/Freeswitch-mod_mp4.git | C | 261 lines
62 iticksperclktick = psp.psp_iticksperclktick; 63 clk_tck = sysconf(_SC_CLK_TCK); 64 msecond_per_itick = (1000.0)/(double)(iticksperclktick * clk_tck);agc_simulator.c https://github.com/argaldo/iAGC.git | C | 279 lines
107 Simulator.DebugRules = DebugRules; 108 Simulator.DumpInterval = Options->dump_time * sysconf (_SC_CLK_TCK); 109 153 case SIM_CYCLECOUNT_AGC: 154 Simulator.CycleCount = sysconf (_SC_CLK_TCK) * Simulator.State.CycleCounter; 155 break; 156 case SIM_CYCLECOUNT_INC: 157 Simulator.CycleCount += sysconf (_SC_CLK_TCK); 158 break;times.c https://git.sr.ht/~emersion/mrsh/ | C | 41 lines
18 struct tms buf; 19 long clk_tck = sysconf(_SC_CLK_TCK); 20 if (clk_tck == -1) {unistd.h https://bitbucket.org/warthurton/gno.git | C Header | 122 lines
92#define _SC_CHILD_MAX 2 93#define _SC_CLK_TCK 3 94#define _SC_NGROUPS_MAX 4qtimerinfo_unix.cpp https://gitlab.com/x33n/phantomjs | C++ | 655 lines
75 76 ticksPerSecond = sysconf(_SC_CLK_TCK); 77 msPerTick = 1000/ticksPerSecond;global.c https://github.com/lessandro/nbis.git | C | 1621 lines
175 if (!clktck) { 176 if ((clktck= sysconf (_SC_CLK_TCK)) < 0) { 177 fprintf (qh ferr, "qhull internal error (qh_clock): sysconf() failed. Use qh_CLOCKtype 1 in user.h\n");mono-proclib.c https://github.com/hollow87/mono.git | C | 611 lines
374 if (user_hz == 0) { 375#ifdef _SC_CLK_TCK 376 user_hz = sysconf (_SC_CLK_TCK);iproute.c https://gitlab.com/brian0218/rk3288_r-box_android4.4.2_sdk | C | 946 lines
75 if (!hz_internal) 76 hz_internal = sysconf(_SC_CLK_TCK); 77 return hz_internal;s_time.c https://github.com/okuoku/freebsd-head.git | C | 735 lines
120#ifndef HZ 121# ifdef _SC_CLK_TCK 122# define HZ ((double)sysconf(_SC_CLK_TCK))tickadj.c https://github.com/okuoku/freebsd-head.git | C | 902 lines
427 hz = HZ; 428#if defined(HAVE_SYSCONF) && defined(_SC_CLK_TCK) 429 hz = (int) sysconf (_SC_CLK_TCK); 429 hz = (int) sysconf (_SC_CLK_TCK); 430#endif /* not HAVE_SYSCONF && _SC_CLK_TCK */ 431#ifdef OVERRIDE_HZMemoryInfo.cc https://bitbucket.org/MaxCam/anchordist.git | C++ | 129 lines
52 initTime = 0; 53 tickspersec = sysconf(_SC_CLK_TCK); 54 prevMem = initMem;metrics.c https://github.com/ChuguluGames/mediawiki-svn.git | C | 910 lines
87 } 88 else if( -1 == (clk_ticks = sysconf(_SC_CLK_TCK))) 89 {sysconf.c https://bitbucket.org/killerpenguinassassins/open_distrib_devel.git | C | 617 lines
95 return ((long)rl.rlim_cur); 96 case _SC_CLK_TCK: 97 return (CLK_TCK);conftab.c https://bitbucket.org/a3217055/illumos-joyent.git | C | 392 lines
77{ "CKPT", { 0ULL, 0 }, { 0ULL, 0 }, CONF_FEATURE|CONF_UNDERSCORE, CONF_POSIX, 1, CONF_sysconf, -1 }, 78{ "CLK_TCK", { 0ULL, 0 }, { 0ULL, 0 }, CONF_LIMIT, CONF_POSIX, 1, CONF_sysconf, _SC_CLK_TCK }, 79{ "CLOCKRES_MIN", { 0ULL, 0 }, { _POSIX_CLOCKRES_MIN, 0 }, CONF_MINMAX|CONF_UNDERSCORE|CONF_PREFIX_ONLY|CONF_MINMAX_DEF, CONF_POSIX, 1, CONF_sysconf, -1 },conftab.c https://bitbucket.org/a3217055/illumos-2.git | C | 392 lines
77{ "CKPT", { 0UL, 0 }, { 0UL, 0 }, CONF_FEATURE|CONF_UNDERSCORE, CONF_POSIX, 1, CONF_sysconf, -1 }, 78{ "CLK_TCK", { 0UL, 0 }, { 0UL, 0 }, CONF_LIMIT, CONF_POSIX, 1, CONF_sysconf, _SC_CLK_TCK }, 79{ "CLOCKRES_MIN", { 0UL, 0 }, { _POSIX_CLOCKRES_MIN, 0 }, CONF_MINMAX|CONF_UNDERSCORE|CONF_PREFIX_ONLY|CONF_MINMAX_DEF, CONF_POSIX, 1, CONF_sysconf, -1 },timer.c https://bitbucket.org/bosp/benchmarks-parsec.git | C | 395 lines
54#if !defined(CLK_TCK) 55#define CLK_TCK sysconf(_SC_CLK_TCK) 56#endiftest_timer.cpp git://pkgs.fedoraproject.org/mysql-connector-c++ | C++ | 247 lines
157 /* it looks like CLOCKS_PER_SEC should be defined on all platforms... just to feel safe. 158 Maybe use sysconf(_SC_CLK_TCK) */ 159confname.h https://gitlab.com/envieidoc/advancedtomato2 | C Header | 606 lines
79 _SC_CLK_TCK, 80#define _SC_CLK_TCK _SC_CLK_TCK 81 _SC_NGROUPS_MAX,tcp.c https://gitlab.com/envieidoc/tomato | C | 596 lines
233#if freebsd4 234 hz = sysconf(_SC_CLK_TCK); /* get ticks/s from system */ 235#endif