summaryrefslogtreecommitdiff
path: root/src/main/DefaultTimers.c
Commit message (Collapse)AuthorAge
* Completed the previous fix -- I had missed another occurrance of theswhite2006-03-08
| | | | | | | types in question. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4267 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fix for bug introduced by recent patch in systems with non-SYSV conformantswhite2006-03-07
| | | | | | | | | | | | | | | | | | | | | | | sys/time.h, such as Darwin 7.9.0. The SYSV declaration is struct timeval { time_t tv_sec; /* seconds */ suseconds_t tv_usec; /* and microsecond }; I had used time_t and suseconds_t thinking they were the safe types to use, but older BSD systems use longs for both. SYSV only specifies that they be signed integral types, suseconds_t must hold 1,000,000 and -1, so long should be enough for both. See http://www.opengroup.org/onlinepubs/007908799/xsh/systime.h.html http://www.opengroup.org/onlinepubs/007908799/xsh/systypes.h.html git-svn-id: http://svn.cactuscode.org/flesh/trunk@4266 17b73243-c579-4c4c-a9d2-2d5706c11dac
* As discussed in today's Cactus call, applying a couple of the patchesswhite2006-03-02
| | | | | | | | | | from 14 Feb Patches list. As discussed, will further investigate the validity and origin of the Complex sqrt function later. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4262 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Functions completing the Cactus Timer API.swhite2004-08-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3828 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Putting semicolons at the end of CCTK_FILEVERSIONs.goodale2002-11-12
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3029 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Pass NULL instead of a 'struct timezone *' pointer as second argument totradke2002-10-31
| | | | | | | | | gettimeofday(2). The timezone structure is obsolete and not even defined anymore when compiling with gcc and '-ansi'. Also did some reformatting and completed grdoc. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3018 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Shortened the headings for the Cactus default timers a bit (only have thetradke2001-12-11
| | | | | | | | | | timer routine name in it). When outputting the timing info with 'cactus::cctk_timer_output = "full"' also print the units for each timer in its heading. Closes PR Cactus/275. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2495 17b73243-c579-4c4c-a9d2-2d5706c11dac
* 'struct cTimerFuncs' was renamed into 'struct cClockFuncs'.tradke2001-07-12
| | | | | | | Fixed compiler warnings. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2290 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed typo in default clock name.tradke2001-07-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2282 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_TimerRegister -> CCTK_ClockRegisterallen2001-07-10
| | | | | | | to avoid confusion between things timing and things being timed. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2281 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Making rcsid strings constant - PR 669.goodale2001-05-10
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2159 17b73243-c579-4c4c-a9d2-2d5706c11dac
* grdoc, style-guidelines, ...goodale2000-10-05
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1854 17b73243-c579-4c4c-a9d2-2d5706c11dac
* GRdoc + coding guideline stuff.goodale2000-10-04
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1851 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removing warnings from rcsid variables.allen2000-04-17
| | | | | | | Tidied include files a bit, removing a few cctk.h's, so I've introduced a few more warnings to fix git-svn-id: http://svn.cactuscode.org/flesh/trunk@1550 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New function and structure namesallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1352 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Capitalising include file namesallen2000-01-16
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1265 17b73243-c579-4c4c-a9d2-2d5706c11dac
* config.h -> cctk_config.hallen2000-01-13
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1247 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Various things pointed out by running Insure on the code.goodale1999-10-26
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1109 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Timers now do register the number of values they provide.goodale1999-10-26
| | | | | | | | | | Also now store integer values and do the conversion to double at the end - this has much better behaviour. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1106 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More updates to timer stuff.goodale1999-10-22
| | | | | | | | | | | | | | | | | | | | | | | | | | Now to get info from a timer, one must create a timer info function: info = CCTK_TimerCreateInfo(); Get the data CCTK_TimerGet(timer, info); Query the fields in the info structure, and then either query another timer with the same info structure, or destroy the info structure. CCTK_TimerDestroyInfo(info); The info structure contains the number of values, and an array of these values, along with header info, units, data types and values. I think this is a fairly complete interface, but if a better one can be found, this may change. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1083 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Timers are now created and timer data collected for scheduled routines.goodale1999-10-21
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1080 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed to use new #ifdefs.goodale1999-10-21
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1078 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Some new timer stuff. Compiles and links under linux and NT, butgoodale1999-10-20
untested as yet. Still need to put in MPI time and the windows time stuff, as well as hardware counters, and still need to wrap schedule stuff with timers. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1074 17b73243-c579-4c4c-a9d2-2d5706c11dac