Ignore:
Timestamp:
Dec 21, 2020, 6:00:05 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
fe97de26
Parents:
7efb322
Message:

Fixed the padding

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/readyQ/locality.cfa

    r7efb322 r3f8baf4  
    3636// ==================================================
    3737struct MyData {
    38         uint64_t[16] _p1;  // padding
     38        uint64_t _p1[16];  // padding
    3939        uint64_t * data;
    4040        size_t len;
    4141        processor * ttid;
    4242        size_t id;
    43         uint64_t[16] _p2;  // padding
     43        uint64_t _p2[16];  // padding
    4444};
    4545
     
    7474        MyThread * volatile ptr;
    7575        size_t id;
    76         uint64_t[16] _p1;  // padding
     76        uint64_t _p1[16];  // padding
    7777};
    7878
     
    256256        printf("Number of threads      : %'d\n", nthreads);
    257257        printf("Total Operations(ops)  : %'15llu\n", global_count);
    258         printf("Work size (64bit words): %'15llu", wsize);
    259         printf("Total Operations(ops)  : %'15llu", global_count);
    260         printf("Total G Migrations     : %'15llu", global_gmigs);
    261         printf("Total D Migrations     : %'15llu", global_dmigs);
     258        printf("Work size (64bit words): %'15llu\n", wsize);
     259        printf("Total Operations(ops)  : %'15llu\n", global_count);
     260        printf("Total G Migrations     : %'15llu\n", global_gmigs);
     261        printf("Total D Migrations     : %'15llu\n", global_dmigs);
    262262        printf("Ops per second         : %'18.2lf\n", ((double)global_count) / (end - start)`ds);
    263263        printf("ns per ops             : %'18.2lf\n", (end - start)`dns / global_count);
Note: See TracChangeset for help on using the changeset viewer.