Create getcycle.c