more verbose display (timestamp)
This commit is contained in:
parent
c381b61b60
commit
2024a1b342
@ -25,6 +25,7 @@ int count, foo;
|
|||||||
long temps;
|
long temps;
|
||||||
char ligne[200];
|
char ligne[200];
|
||||||
float datas[4];
|
float datas[4];
|
||||||
|
struct tm *p_tms;
|
||||||
|
|
||||||
for (count=0; count<iters; count++) {
|
for (count=0; count<iters; count++) {
|
||||||
foo = getline_to(sfd, ligne, 100, 0);
|
foo = getline_to(sfd, ligne, 100, 0);
|
||||||
@ -46,7 +47,13 @@ for (count=0; count<iters; count++) {
|
|||||||
else {
|
else {
|
||||||
fprintf(stderr, "%s: parse -> %d\n", __func__, foo);
|
fprintf(stderr, "%s: parse -> %d\n", __func__, foo);
|
||||||
}
|
}
|
||||||
if (verbosity > 1) fprintf(stderr, "\n");
|
//
|
||||||
|
if (verbosity > 1)
|
||||||
|
{
|
||||||
|
p_tms = localtime(&temps);
|
||||||
|
(void)strftime(ligne, 19, "%H:%M:%S", p_tms);
|
||||||
|
fprintf(stderr, "\t%s\n", ligne);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user