Tezc e357ed8d06
doc (#26)
* doc
2021-02-03 08:09:50 +03:00
..
2021-01-31 05:21:59 +03:00
2021-02-03 08:09:50 +03:00
2021-02-03 08:09:50 +03:00
2021-02-03 08:09:50 +03:00
2020-11-16 03:58:37 +03:00
2021-01-31 05:21:59 +03:00

Time functions

Overview

  • Time and sleep functions for Unixes and Windows
Usage

#include "sc_time.h"

#include <stdio.h>

int main(int argc, char *argv[])
{
    uint64_t t = sc_time_ms();
    sc_time_sleep(1000);
    printf("%lu \n", (unsigned long) (sc_time_ms() - t));

    return 0;
}