sc/time/README.md
Tezc e357ed8d06
doc (#26)
* doc
2021-02-03 08:09:50 +03:00

316 B

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;
}