You will only see the public (readable) repos here until you login.

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 4 years ago
example e33a91e301 Init commit in new repo 4 years ago
.gitignore d6b19b3af6 Initial commit 4 years ago
LICENSE d6b19b3af6 Initial commit 4 years ago
README.md d69c46ceb2 Renamed readme file for gogs 4 years ago
log.c e33a91e301 Init commit in new repo 4 years ago
log.h e33a91e301 Init commit in new repo 4 years ago

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.