Skip to content

Instantly share code, notes, and snippets.

View albinahlback's full-sized avatar
🏋️‍♂️
Master thesis mindset

Albin Ahlbäck albinahlback

🏋️‍♂️
Master thesis mindset
View GitHub Profile
@albinahlback
albinahlback / profile-xgcd.c
Created June 1, 2021 23:38
Profiling for xgcd in Flint
#include "flint/flint.h"
#include "flint/fmpz.h"
#include "flint/profiler.h"
int main(int argc, char* argv[])
{
timeit_t clock;
fmpz_t d, x, y, a, b;
slong const min = strtol(argv[1], NULL, 10);
slong const max = strtol(argv[2], NULL, 10);