diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-10-22 10:13:14 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-10-22 10:13:14 +0000 |
commit | be202dad37826c03a9503ca8e801d745d04415fb (patch) | |
tree | d660d8dd22f0e39c8a61da8da5a6ea3dfc0aa85c /src/util/Misc.c | |
parent | 0bfe852f857e3e134d505fea9f35e74d1dea270f (diff) |
More updates to timer stuff.
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
Diffstat (limited to 'src/util/Misc.c')
0 files changed, 0 insertions, 0 deletions