summaryrefslogtreecommitdiff
path: root/src/util/CactusTimers.c
Commit message (Collapse)AuthorAge
* Fixed a small bug. Completed grdoc.tradke2002-01-02
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2565 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed CCTK_TimerPrintData and CCTK_TimerPrintDataI to take two arguements,allen2001-12-29
| | | | | | | | | | | | | | | | | | | | | so you can choose both a timer and a clock to print. Passing a NULL argument for a string, or a -1 for the index versions will cause all the timers/clocks to be used. Also added new functions CCTK_NumClocks CCTK_ClockName CCTK_ClockHandle which I needed for this. Not sure that I really needed the ClockHandle one, but it is useful anyway to test if a clock is registered. Maybe these functions should also take something like a file descriptor, so that the information can be easily printed to a file, or to the HTTPD pages. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2547 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Renamed CCTK_DisplayTimerData() to CCTK_TimerPrintData() (along withrideout2001-12-17
| | | | | | | all their variants). git-svn-id: http://svn.cactuscode.org/flesh/trunk@2509 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added fortran wrapper protoypes.tradke2001-12-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2498 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Expanded a CCTK_WARN macro into CCTK_VWarn().tradke2001-12-11
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2496 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added Fortran bindings for timers, and two subroutinesrideout2001-12-11
| | | | | | | | | CCTK_DisplayTimerData() CCTK_DisplayTimerDataI() which display timing data for a given timer. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2494 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Get rid of the prefix when creating named timers so that the othertradke2001-08-27
| | | | | | | routines, which take the name as the argument, do work again. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2319 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Make the name for named Cactus timers unique by prepending the timer number.tradke2001-07-12
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@2292 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added two new timer routines:tradke2001-07-12
| | | | | | | | int CCTK_NumTimers (void); const char *CCTK_TimerName (int timer_handle); git-svn-id: http://svn.cactuscode.org/flesh/trunk@2288 17b73243-c579-4c4c-a9d2-2d5706c11dac
* CCTK_TimerRegister -> CCTK_ClockRegisterallen2001-07-10
| | | | | | | Starting to add some error codes. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2278 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
* Removing rcsid warningsallen2000-04-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1559 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Standardising function names and structuresallen2000-02-03
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@1346 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Removed tabs from files.goodale1999-11-24
| | | | | | | | | Added @version lines to various header files. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1170 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Fixed a silly mistake I just committed. Thanks Ralph.goodale1999-11-03
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1131 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing various things pointed to by compiling with -Wall.goodale1999-11-03
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1129 17b73243-c579-4c4c-a9d2-2d5706c11dac
* A bugfix in creating anonymous timers.goodale1999-10-26
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1105 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
* Changes for new timer stuff.goodale1999-10-21
| | | | | | | | | | Currently have #if 0ed out all references to old timers in thorns and flesh to act as placeholders for new timer stuff. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1079 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
* Start on the new timer stuff.goodale1999-09-14
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@906 17b73243-c579-4c4c-a9d2-2d5706c11dac
* More changes from Joan and his NT nightmares.jmasso1999-06-03
| | | | | | | Please try this on a reasonable OS. git-svn-id: http://svn.cactuscode.org/flesh/trunk@543 17b73243-c579-4c4c-a9d2-2d5706c11dac
* New function to allocate memory for a Cactus timer.goodale1999-05-06
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@517 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Moved CactusTimers.c from include to utils directory.goodale1998-10-14
Changed the type for SetupGH. git-svn-id: http://svn.cactuscode.org/flesh/trunk@20 17b73243-c579-4c4c-a9d2-2d5706c11dac