~ubuntu-branches/ubuntu/raring/libpthread-workqueue/raring

« back to all changes in this revision

Viewing changes to testing/latency/latency.c

  • Committer: Bazaar Package Importer
  • Author(s): Mark Heily
  • Date: 2011-05-07 11:57:22 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110507115722-n8ftqsa8w2el0xkn
Tags: 0.5.1-1
* New upstream version.
* Update control file with new Standards-Version.
* Remove -m64 from CFLAGS (Closes: #622798)
* Limit architecture to linux-any (Closes: #622799)

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
 
153
153
static void _generate_simulated_events()
154
154
{
155
 
        long i, tick, ticks_generated = 0, overhead;
 
155
        long i, tick, overhead;
156
156
    mytime_t start, current, overhead_start = 0, overhead_end = 0;
157
157
 
158
158
    start = current = gettime();
229
229
void _print_statistics()
230
230
{
231
231
        unsigned long i, j, total_events = 0, last_percentile = 0, accumulated_percentile = 0;
232
 
        void *events_done;
233
232
        
234
233
        printf("Collecting statistics...\n");
235
234