diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-05-31 08:59:28 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-05-31 08:59:28 (GMT) |
commit | 91189c426903448dfa31ba4983c5d3035cb351a5 (patch) | |
tree | dc374756a9260acda12b9b8afc397affcb7c3f9c /win/tclWinTime.c | |
parent | f5d0aa6e2254e5bc7b53ad639b36ee06453c361a (diff) | |
download | tcl-91189c426903448dfa31ba4983c5d3035cb351a5.zip tcl-91189c426903448dfa31ba4983c5d3035cb351a5.tar.gz tcl-91189c426903448dfa31ba4983c5d3035cb351a5.tar.bz2 |
More code review, e.g. use Tcl_SetObjResult in stead of Tcl_SetResult, preventing a (char *) type case. No functional changes.
Diffstat (limited to 'win/tclWinTime.c')
-rw-r--r-- | win/tclWinTime.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/win/tclWinTime.c b/win/tclWinTime.c index e1aff48..db05cad 100644 --- a/win/tclWinTime.c +++ b/win/tclWinTime.c @@ -252,7 +252,7 @@ TclpGetWideClicks(void) /* * The frequency of the performance counter is fixed at system boot and - * is consistent across all processors. Therefore, the frequency need + * is consistent across all processors. Therefore, the frequency need * only be queried upon application initialization. */ if (QueryPerformanceFrequency(&perfCounterFreq)) { @@ -263,7 +263,7 @@ TclpGetWideClicks(void) wideClick.perfCounter = 0; wideClick.microsecsScale = 1; } - + wideClick.initialized = 1; } if (wideClick.perfCounter) { @@ -284,7 +284,7 @@ TclpGetWideClicks(void) * * TclpWideClickInMicrosec -- * - * This procedure return scale to convert wide click values from the + * This procedure return scale to convert wide click values from the * TclpGetWideClicks native resolution to microsecond resolution * and back. * @@ -323,7 +323,7 @@ TclpWideClickInMicrosec(void) *---------------------------------------------------------------------- */ -Tcl_WideInt +Tcl_WideInt TclpGetMicroseconds(void) { Tcl_WideInt usecSincePosixEpoch; |