1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-30 11:05:50 +00:00

Added some profilling macros into GCodeTimeEstimator

This commit is contained in:
Lukas Matena
2018-07-20 16:14:23 +02:00
parent 95bd2bb8f9
commit 167060e470
4 changed files with 36 additions and 3 deletions
+4 -1
View File
@@ -93,8 +93,11 @@ float ShinyGetTickInvFreq(void) {
#elif SHINY_PLATFORM == SHINY_PLATFORM_POSIX
//#include <time.h>
//#include <sys/time.h>
void ShinyGetTicks(shinytick_t *p) {
timeval time;
struct timeval time;
gettimeofday(&time, NULL);
*p = time.tv_sec * 1000000 + time.tv_usec;