Jak uzyskać czas w C w milisekundach? (Windows)
Szukałem w sieci, ale znalazłem tylko sposób na zrobienie tego, ale w ten sposób zwraca w sekundach zamiast milisekund.
Mój kod to:
#include <stdio.h>
#include <assert.h>
#include <time.h>
int main(void)
{
int solucion;
time_t start, stop;
clock_t ticks;
long count;
time(&start);
solucion = divisores_it(92000000, 2);
time(&stop);
printf("Finnished in %f seconds. \n", difftime(stop, start));
return 0;
}