/* * This file is part of the UCB release of Plan 9. It is subject to the license * terms in the LICENSE file found in the top-level directory of this * distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No * part of the UCB release of Plan 9, including this file, may be copied, * modified, propagated, or distributed except according to the terms contained * in the LICENSE file. */ #include #include #include #include #include extern int drawdebug; void main(int argc, char **argv) { Memimage *x; Point c = {208,871}; int a = 441; int b = 441; int thick = 0; Point sp = {0,0}; int alpha = 51; int phi = 3; int64_t t0, t1; int i, n; int64_t del; if (argc != 2) { jehanne_fprint(2, "usage: arctest number\n"); jehanne_exits("usage"); } memimageinit(); x = allocmemimage(Rect(0,0,1000,1000), CMAP8); n = jehanne_atoi(argv[1]); t0 = jehanne_nsec(); t0 = jehanne_nsec(); t0 = jehanne_nsec(); t1 = jehanne_nsec(); del = t1-t0; t0 = jehanne_nsec(); for(i=0; i