| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
types in question.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4267 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3828 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3029 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Fixed compiler warnings.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2290 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2282 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2159 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1854 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1851 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1352 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1265 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
| |
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1247 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1109 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1080 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
|
|
|
|
|
| |
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1078 17b73243-c579-4c4c-a9d2-2d5706c11dac
|
|
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
|