Searched refs:seconds (Results 1 - 25 of 119) sorted by relevance

12345

/xsrc/external/mit/mesa-demos/dist/src/trivial/
H A Dclear-repeat.c85 GLfloat seconds = (t - T0) / 1000.0; local in function:Draw
86 GLfloat fps = Frames / seconds;
87 printf("%d frames in %6.3f seconds = %6.3f FPS\n", Frames, seconds, fps);
/xsrc/external/mit/mesa-demos/dist/src/glsl/
H A Dnoise2.c46 GLfloat seconds = (GLfloat) (t - t0) / 1000.0f; local in function:Redisplay
47 GLfloat fps = frames / seconds;
48 printf("%d frames in %6.3f seconds = %6.3f FPS\n", frames, seconds,
/xsrc/external/mit/mesa-demos/dist/src/redbook/
H A Dpolyoff.c153 double seconds, fps; local in function:Benchmark
167 } while (endTime - startTime < 5000); /* 5 seconds */
170 seconds = (double) (endTime - startTime) / 1000.0;
171 fps = draws / seconds;
/xsrc/external/mit/mesa-demos/dist/src/demos/
H A Ddrawpix.c86 double seconds, pixelsPerSecond; local in function:Benchmark
110 } while (endTime - startTime < 4000); /* 4 seconds */
117 seconds = (double) (endTime - startTime) / 1000.0;
118 pixelsPerSecond = draws * DrawWidth * DrawHeight / seconds;
119 printf("Result: %d draws in %f seconds = %f pixels/sec\n",
120 draws, seconds, pixelsPerSecond);
H A Dreadpix.c222 GLdouble seconds, mpixels, mpixelsPerSecond; local in function:Display
229 } while (endTime - startTime < 4000); /* 4 seconds */
230 seconds = (double) (endTime - startTime) / 1000.0;
232 mpixelsPerSecond = mpixels / seconds;
233 printf("Result: %d reads in %f seconds = %f Mpixels/sec\n",
234 reads, seconds, mpixelsPerSecond);
H A Darbfplight.c85 GLfloat seconds = (t - T0) / 1000.0; local in function:Redisplay
86 GLfloat fps = Frames / seconds;
87 printf("%d frames in %6.3f seconds = %6.3f FPS\n", Frames, seconds, fps);
H A Darbfslight.c82 GLfloat seconds = (GLfloat) (t - t0) / 1000.0f; local in function:Redisplay
83 GLfloat fps = frames / seconds;
84 printf("%d frames in %6.3f seconds = %6.3f FPS\n", frames, seconds,
H A Dmultiarb.c116 GLfloat seconds = (t - T0) / 1000.0; local in function:Display
117 GLfloat fps = Frames / seconds;
118 printf("%d frames in %6.3f seconds = %6.3f FPS\n", Frames, seconds, fps);
H A Dtexcyl.c79 GLfloat seconds = (t - T0) / 1000.0; local in function:Display
80 GLfloat fps = Frames / seconds;
81 printf("%d frames in %g seconds = %g FPS\n", Frames, seconds, fps);
H A Dgloss.c133 GLfloat seconds = (t - T0) / 1000.0; local in function:Display
134 GLfloat fps = Frames / seconds;
135 printf("%d frames in %g seconds = %g FPS\n", Frames, seconds, fps);
H A Dcubemap.c294 GLfloat seconds = (t - T0) / 1000.0; local in function:draw
295 GLfloat fps = Frames / seconds;
296 printf("%d frames in %6.3f seconds = %6.3f FPS\n", Frames, seconds, fps);
H A Dfslight.c102 GLfloat seconds =(GLfloat)(t - t0) / 1000.0f; local in function:Redisplay
103 GLfloat fps = frames / seconds;
104 printf("%d frames in %6.3f seconds = %6.3f FPS\n",
105 frames, seconds, fps);
H A Dgearbox.c314 GLfloat seconds = (t - T0) / 1000.0; local in function:draw
315 GLfloat fps = Frames / seconds;
316 printf("%d frames in %6.3f seconds = %6.3f FPS\n", Frames, seconds, fps);
H A Dgears.c6 * -exit automatically exit after 30 seconds
220 GLfloat seconds = (t - T0) / 1000.0; local in function:draw
221 GLfloat fps = Frames / seconds;
222 printf("%d frames in %6.3f seconds = %6.3f FPS\n", Frames, seconds, fps);
375 printf("Auto Exit after %i seconds.\n", autoexit );
H A Dreflect.c401 GLfloat seconds = (t - t0) / 1000.0; local in function:DrawWindow
402 GLfloat fps = frames / seconds;
403 printf("%d frames in %g seconds = %g FPS\n", frames, seconds, fps);
H A Dtunnel.c469 GLfloat seconds = (t - T0) / 1000.0; local in function:draw
470 GLfloat fps = Frames / seconds;
/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dpbo.c132 GLdouble seconds, pixelsPerSecond; local in function:Display
139 } while (endTime - startTime < 4000); /* 4 seconds */
140 seconds = (double) (endTime - startTime) / 1000.0;
141 pixelsPerSecond = reads * ImgWidth * ImgHeight / seconds;
142 printf("Result: %d reads in %f seconds = %f pixels/sec\n",
143 reads, seconds, pixelsPerSecond);
H A Dstreaming_rect.c150 GLfloat seconds = (t - T0) / 1000.0; local in function:Display
152 GLfloat fps = Frames / seconds;
153 printf("%d frames in %6.3f seconds = %6.3f FPS\n", Frames, seconds, fps);
156 drift_increment = 2.2 * seconds / Frames;
H A Dquads.c65 GLfloat seconds = (t - T0) / 1000.0; local in function:Draw
66 GLfloat fps = Frames / seconds;
67 printf("%d frames in %6.3f seconds = %6.3f FPS\n",
68 Frames, seconds, fps);
H A Dafsmultiarb.c134 GLfloat seconds = (t - T0) / 1000.0; local in function:Display
135 GLfloat fps = Frames / seconds;
136 drift_increment = 2.2 * seconds / Frames;
137 printf("%d frames in %6.3f seconds = %6.3f FPS\n", Frames, seconds, fps);
H A Dauxbuffer.c441 GLfloat seconds = t - t0; local in function:event_loop
442 GLfloat fps = frames / seconds;
443 printf("%d frames in %3.1f seconds = %6.3f FPS\n", frames, seconds,
/xsrc/external/mit/MesaLib/dist/src/tool/pps/
H A Dpps_config.cc88 auto secs = std::chrono::seconds(1);
122 secs = std::chrono::seconds(args["--sec"].asLong());
170 std::this_thread::sleep_for(std::chrono::seconds(secs));
/xsrc/external/mit/mesa-demos/dist/src/egl/opengl/
H A Dpeglgears.c27 * Program runs for 5 seconds then exits, outputing framerate to console
53 /* return current time (in seconds) */
336 GLfloat seconds, fps; local in function:run_gears
357 seconds = ct - st;
358 fps = frames / seconds;
359 printf("%d frames in %3.1f seconds = %6.3f FPS\n", frames, seconds, fps);
/xsrc/external/mit/mesa-demos/dist/src/egl/opengles2/
H A Des2gears.c600 GLfloat seconds = t - tRate0; local in function:gears_idle
601 GLfloat fps = frames / seconds;
602 printf("%d frames in %3.1f seconds = %6.3f FPS\n", frames, seconds,
/xsrc/external/mit/mesa-demos/dist/src/xdemos/
H A Dglxcontexts.c53 /* return current time (in seconds) */
489 GLfloat seconds = t - tRate0; local in function:event_loop
490 GLfloat fps = frames / seconds;
491 printf("%d frames in %3.1f seconds = %6.3f FPS\n", frames, seconds,

Completed in 15 milliseconds

12345