diff options
author | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2007-08-25 02:23:39 +0000 |
---|---|---|
committer | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2007-08-25 02:23:39 +0000 |
commit | eaa8e7b2a5afd1e52a0dad1287240d051ffce636 (patch) | |
tree | 8074a3d54734453e4ff1aa30c74108ded1c54bb2 /src/include/cctk_Schedule.h | |
parent | 808f352717c6a6927ac886d29fd585a394a2cf31 (diff) |
Implement a new flesh function CCTK_SchedulePrintTimesToFile.
The existing internal schedule printing functions now take an
additional FILE* argument, and the existing CCTK_SchedulePrintTimes
prints explicitly to stdout.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@4428 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk_Schedule.h')
-rw-r--r-- | src/include/cctk_Schedule.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/cctk_Schedule.h b/src/include/cctk_Schedule.h index b6ad495c..e8f70dc1 100644 --- a/src/include/cctk_Schedule.h +++ b/src/include/cctk_Schedule.h @@ -11,6 +11,8 @@ #ifndef _CCTK_SCHEDULE_H_ #define _CCTK_SCHEDULE_H_ +#include <stdio.h> + typedef enum {LangNone, LangC, LangFortran} cLanguage; typedef enum {FunctionNoArgs, FunctionOneArg, FunctionStandard} cFunctionType; @@ -66,6 +68,7 @@ int CCTK_ScheduleTraverse(const char *where, int CCTK_SchedulePrint(const char *where); int CCTK_SchedulePrintTimes(const char *where); +int CCTK_SchedulePrintTimesToFile(const char *where, FILE *file); cLanguage CCTK_TranslateLanguage(const char *sval); |