[riot-notifications] [RIOT-OS/RIOT] pkg: Initial introduction of ubasic package (#11319)

Martine Lenders notifications at github.com
Tue Apr 2 23:40:59 CEST 2019


miri64 commented on this pull request.



> +
+  clock_t start_t, end_t;
+  double delta_t;
+
+  start_t = clock();
+
+  ubasic_init_peek_poke(program, &peek, &poke);
+
+  do {
+    ubasic_run();
+  } while(!ubasic_finished());
+
+  end_t = clock();
+  delta_t = (double)(end_t - start_t) / CLOCKS_PER_SEC;
+
+  printf("done. Run time: %.3f s\n", delta_t);

With some brainstorming with @cladmi I think I came to a good way to do this, I think (this does not fix the bug upstream, I know)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11319#discussion_r271506808
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190402/13231889/attachment.html>


More information about the notifications mailing list