Log your c programs and plot data into graphs. Supports custom log functions, if you dont want to use a timer to log with.

Joachim M. Giæver d69c46ceb2 Renamed readme file for gogs 8 lat temu
example e33a91e301 Init commit in new repo 8 lat temu
.gitignore d6b19b3af6 Initial commit 8 lat temu
LICENSE d6b19b3af6 Initial commit 8 lat temu
README.md d69c46ceb2 Renamed readme file for gogs 8 lat temu
log.c e33a91e301 Init commit in new repo 8 lat temu
log.h e33a91e301 Init commit in new repo 8 lat temu

README.md

LOGGING

About

Do logging (in the manner of benchmarking etc) with this application. The application is easy to use and strive to use an ADT that is flexible in many ways. For example, you can easily implement your own functions if you're not looking for an alternative solution, e.g count stuff. Just do like this:

void numeric(unsigned long long *t, ...) {
    va_list vargs;
    va_start(vargs, t);

    int num = va_arg(vargs, int);
    
    if (num % 2)
        num += 10;

    *t = num;

    va_end(vargs);
}

and pass it on as the third argument to the log_init-function. Data collected between logent_start and logent_end can again be passed on to the function by adding them after the third argument to logent_end.

How to

--- more info here

Initialize one or several logs

--- it will come

Todo:

Comment out and clean up code in log.c and log.h.