Skip to content

Commit

Permalink
hrmin string
Browse files Browse the repository at this point in the history
  • Loading branch information
oguyon committed Jul 28, 2024
1 parent 38c8cda commit 96f57bb
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/COREMOD_memory/logshmim.c
Original file line number Diff line number Diff line change
Expand Up @@ -774,18 +774,14 @@ static errno_t compute_function()
printf("hrmin: %s\n", hrminstring);





struct timespec timenowStart;
clock_gettime(CLOCK_MILK, &timenowStart);

WRITE_FULLFILENAME(FITSffilename,
"%s/%s_%02d:%02d:%02ld.%09ld.fits",
"%s/%s_%s:%02ld.%09ld.fits",
savedirname,
streamname,
uttimeStart->tm_hour,
uttimeStart->tm_min,
hrminstring,
timenowStart.tv_sec % 60,
timenowStart.tv_nsec);

Expand All @@ -796,11 +792,10 @@ static errno_t compute_function()


WRITE_FULLFILENAME(ASCIITIMEffilename,
"%s/%s_%02d:%02d:%02ld.%09ld.txt",
"%s/%s_%s:%02ld.%09ld.txt",
savedirname,
streamname,
uttimeStart->tm_hour,
uttimeStart->tm_min,
hrminstring,
timenowStart.tv_sec % 60,
timenowStart.tv_nsec);

Expand Down

0 comments on commit 96f57bb

Please sign in to comment.