info1_uebungen/09/utils/stoppuhr.c
2026-06-18 09:03:11 +02:00

14 lines
211 B
C

#include <time.h>
#include "stoppuhr.h"
static clock_t zeitStempel = 0;
void starteUhr()
{
zeitStempel = clock();
}
double messeZeitInSek()
{
return (double)(clock() - zeitStempel) / CLOCKS_PER_SEC;
}