*BSD News Article 37485


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!hpg30a.csc.cuhk.hk!news.hk.net!howland.reston.ans.net!EU.net!Germany.EU.net!news.dfn.de!zeus.rbi.informatik.uni-frankfurt.de!terra.wiwi.uni-frankfurt.de!news.th-darmstadt.de!fauern!winx03!uv3.pharmazie.uni-wuerzburg.de!tom
From: tom@uv3.pharmazie.uni-wuerzburg.de (Thomas Heiling)
Newsgroups: comp.os.386bsd.development
Subject: Re: looking for CLOCKS_PER_SEC
Date: 4 Nov 1994 11:16:30 GMT
Organization: University of Wuerzburg, Germany
Lines: 22
Message-ID: <39d56e$l6g@winx03.informatik.uni-wuerzburg.de>
References: <39cbs5$1qf@martha.utk.edu>
NNTP-Posting-Host: wpzd27.pharmazie.uni-wuerzburg.de
X-Newsreader: TIN [version 1.2 PL2]

phrank the punk (frank@martha.utcc.utk.edu) wrote:
: hi,

: is there something like CLOCKS_PER_SEC for FreeBSD-1.1.5.1 ?
: since it's not that important i used the value 1000 for CLOCKS_PER_SEC ??? ;)
: works 'somehow' ...
: is there a better solution (as a #define in time.h) ?

#define CLOCKS_PER_SEC CLK_TCKS
I am not 100 % sure, whether it is CLK_TCK or CLK_TCKS
Hope this helps
Thomas

--
---------------------------------------------------
Thomas Heiling Pharmacist & Doctorate at 
Pharmazeutisches Institut Uni Wuerzburg - Germany 
Email phar006@rzbox.uni-wuerzburg.de (HP-UX)
      tom@wpzd07.pzlc.uni-wuerzburg.de (Linux)
or phar006@vax.rz.uni-wuerzburg.de ( VAX )

---------------------------------------------------