1. 10 Feb, 2011 6 commits
    • U. Artie Eoff's avatar
      Add SyncFileWriter for write/close synchronization on results file. · 4d87ef44
      U. Artie Eoff authored
      Add SyncFileWriter class to synchronize writes to the 'main' results
      file from multiple threads.  This helps to ensure that writes to this
      file are not intermingled.
    • U. Artie Eoff's avatar
      Move asmparsertests to a separate ThreadPool group. · ccdef312
      U. Artie Eoff authored
      Move asmparsertests to a separate ThreadPool group named
      'gpu-not-used'.  This ThreadPool is created with 2 worker threads
      by default.
      This change makes the asmparsertests execute concurrently with all
      other tests that are allocated in another ThreadPool (currently
      everything else).
    • U. Artie Eoff's avatar
      Modify the Test class in core.py to use ThreadPools. · b1b56d97
      U. Artie Eoff authored
      Modify Test class to use ThreadPools in its doRun method.  All
      tests now execute in the default ThreadPool named 'base'.
      A Test instance can be configured to run in a different (named)
      ThreadPool instance by setting its poolName member variable to
      that name.
    • U. Artie Eoff's avatar
      Add synchronization to Logger functions. · 05a710bc
      U. Artie Eoff authored
      Add synchronization decorator to Logger functions for multithreaded
      logging support.
    • U. Artie Eoff's avatar
      Add threads.py · 6388cf7b
      U. Artie Eoff authored
      Add threads.py which defines a synchronization decorator that will
      be used for multithreaded synchronized access to critical sections.
      Also defines a ThreadPools singleton that manages named ThreadPool
      instances.  A ThreadPool instance named 'base' is created by default
      with one worker thread.  New uniquely named ThreadPool instances
      can be created with a configurable number of worker threads.
    • U. Artie Eoff's avatar
      Add threadpool.py · b044b27b
      U. Artie Eoff authored
      Add threadpool.py to support future concurrency support.
  2. 07 Feb, 2011 1 commit
    • U. Artie Eoff's avatar
      Added a simple logging class. Updated Test::doRun to use the new log. · a376b8e2
      U. Artie Eoff authored
      Added log.py which includes a simple Logger class that wraps some
      basic functions from the Python logging module. The log wrapper
      simplifies setup and will accommodate thread synchronization in the
      future.  Test::doRun now uses the new log facility.
      NOTE: this changes the format of the 'test progress' previously
      printed via stdout.
      Added patterns.py which includes a Singleton class design pattern
      to support the Logger class.  Future design patterns can be added
      to this file.
      Tested with Python 2.7 on Linux.  All should be compatible with
      Windows and Mac and most earlier widely-used versions of Python.
      Signed-off-by: default avatarIan Romanick <ian.d.romanick@intel.com>
      Reviewed-by: default avatarChad Versace <chad.versace@intel.com>
  3. 04 Feb, 2011 12 commits
  4. 03 Feb, 2011 1 commit
  5. 02 Feb, 2011 2 commits
  6. 01 Feb, 2011 5 commits
  7. 30 Jan, 2011 1 commit
  8. 29 Jan, 2011 2 commits
  9. 28 Jan, 2011 3 commits
  10. 27 Jan, 2011 3 commits
  11. 26 Jan, 2011 4 commits