Changeset f46b26b8


Ignore:
Timestamp:
Sep 16, 2021, 12:24:21 PM (3 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
master
Children:
83b22b5
Parents:
3e9ec44
Message:

Fixed printing with regards to taskset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/rmit.py

    r3e9ec44 rf46b26b8  
    225225
    226226        # Add tasksets
     227        withtaskset = False
    227228        if not options.notaskset and init_taskset_maps():
     229                withtaskset = True
    228230                actions = settaskset(actions)
    229231
     
    250252        first = True
    251253        for i, a in enumerate(actions):
    252                 sa = " ".join(a)
     254                sa = " ".join(a[3:] if withtaskset else a)
    253255                if first:
    254256                        first = False
     
    272274                                                pass
    273275
    274                 options.file.write(json.dumps([a[0][2:], sa, fields]))
     276                options.file.write(json.dumps([a[3 if withtaskset else 0][2:], sa, fields]))
    275277                options.file.flush()
    276278
Note: See TracChangeset for help on using the changeset viewer.