(view as text)
./psycle-helpers/++wonderbuild/staged-install/usr/local/bin/psycle-helpers-unit-tests --log_level=test_suite --report_level=detailed
 in dir /mnt/cache/buildbot/psycle/slaves/anechoid.retropaganda.info/psycle-helpers/build (timeout 1200 secs)
 watching logfiles {}
 argv: ./psycle-helpers/++wonderbuild/staged-install/usr/local/bin/psycle-helpers-unit-tests --log_level=test_suite --report_level=detailed
 environment:
  HOME=/var/lib/buildbot
  LANG=en_US.UTF-8
  LOGNAME=buildbot
  MAIL=/var/mail/buildbot
  PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
  PWD=/mnt/cache/buildbot/psycle/slaves/anechoid.retropaganda.info/psycle-helpers/build
  SHELL=/bin/sh
  SPEECHD_PORT=6681
  TERM=linux
  USER=buildbot
  XDG_SESSION_COOKIE=13125b62eb8bb1d18a43cc3e48a4dc82-1319821837.236492-1096079231
 closing stdin
 using PTY: True
Running 16 test cases...
Entering test suite "Master Test Suite"
Entering test case "duration_test"
Leaving test case "duration_test"
Entering test case "time_point_test"
Leaving test case "time_point_test"
Entering test case "thread_hardware_concurrency_test"
hardware concurrency: 4
Leaving test case "thread_hardware_concurrency_test"
Entering test case "measure_clocks_os_test"
clock:                     universalis::os::clocks::utc_since_epoch: absolute: 0, ratio: 1.00033
clock:                     universalis::os::clocks::utc_since_epoch: absolute: 1, ratio: 1.00026
clock:                              universalis::os::clocks::steady: absolute: 0, ratio: 1.00029
clock:                              universalis::os::clocks::steady: absolute: 1, ratio: 1.00025
clock:                     universalis::os::clocks::utc_since_epoch: min:   3.89e-07s, avg: 3.92108e-07s, max:   1.21e-06s
clock:                              universalis::os::clocks::steady: min:   3.03e-07s, avg: 3.27631e-07s, max: 4.2227e-05s
clock:                             universalis::os::clocks::process: min:    5.4e-07s, avg: 1.8586e-06s, max: 1.3708e-05s
clock:                              universalis::os::clocks::thread: min:   5.14e-07s, avg: 1.4706e-06s, max: 1.0058e-05s
clock:            universalis::os::clocks::hires_thread_or_fallback: min:   5.05e-07s, avg: 5.23714e-07s, max: 4.1552e-05s
Leaving test case "measure_clocks_os_test"; testing time: 260ms
Entering test case "measure_clocks_stdlib_test"
clock:                     universalis::os::clocks::utc_since_epoch: absolute: 0, ratio: 1.00029
clock:                     universalis::os::clocks::utc_since_epoch: absolute: 1, ratio: 1.00025
clock:                     universalis::os::clocks::utc_since_epoch: min:   3.92e-07s, avg: 3.9849e-07s, max:   7.19e-07s
clock:                              universalis::os::clocks::steady: absolute: 0, ratio: 1.00026
clock:                              universalis::os::clocks::steady: absolute: 1, ratio: 1.00025
clock:                              universalis::os::clocks::steady: min:   3.92e-07s, avg: 4.0596e-07s, max:   7.09e-07s
Leaving test case "measure_clocks_stdlib_test"; testing time: 10ms
Entering test case "fast_log2_test"
fast_log2: 2.27911e+07
std::log2: 2.28495e+07
0.0160267s < 0.0660682s
Leaving test case "fast_log2_test"; testing time: 80ms
Entering test case "fast_sin_test"
fast_sin<Polynomial_Degree = 2, Real = float>: 1.15558
std::sin: 333.334
0.0191988s < 0.438528s
fast_sin<Polynomial_Degree = 4, Real = float>: 1.12392
std::sin: 333.334
0.0277539s < 0.439862s
fast_sin<Polynomial_Degree = 2, Real = double>: 1
std::sin: 1
0.016662s < 0.0551641s
fast_sin<Polynomial_Degree = 4, Real = double>: 1
std::sin: 1
0.0252104s < 0.0548927s
Leaving test case "fast_sin_test"; testing time: 1080ms
Entering test case "sincos_test"
sin_cos<float>(0): sin = 0, cos = 1
sin_cos<float>(0.785398): sin = 0.707107, cos = 0.707107
sin_cos<float>(1.0472): sin = 0.866025, cos = 0.5
sin_cos<float>(1.5708): sin = 1, cos = -4.37114e-08
sin_cos<float>(3.14159): sin = -8.74228e-08, cos = -1
sin_cos<double>(0): sin = 0, cos = 1
sin_cos<double>(0.785398): sin = 0.707107, cos = 0.707107
sin_cos<double>(1.0472): sin = 0.866025, cos = 0.5
sin_cos<double>(1.5708): sin = 1, cos = 6.12303e-17
sin_cos<double>(3.14159): sin = 1.22461e-16, cos = -1
sin_cos<long double>(0): sin = 0, cos = 1
sin_cos<long double>(0.785398): sin = 0.707107, cos = 0.707107
sin_cos<long double>(1.0472): sin = 0.866025, cos = 0.5
sin_cos<long double>(1.5708): sin = 1, cos = 6.12303e-17
sin_cos<long double>(3.14159): sin = 1.22461e-16, cos = -1
Leaving test case "sincos_test"
Entering test case "lrint_test"
Leaving test case "lrint_test"; testing time: 30ms
Entering test case "lrint_c1999_test"
Leaving test case "lrint_c1999_test"
Entering test case "sinseq_test"
sinseq<Clipped = 0>: 1
std::sin: 1
0.0129165s < 0.0599533s
sinseq<Clipped = 0>: min + 1: -4.78773e-12, max - 1: 1.23932e-11
sinseq<Clipped = 1>: 1
std::sin: 1
0.0200674s < 0.0599628s
sinseq<Clipped = 1>: min + 1: 0, max - 1: 0
Leaving test case "sinseq_test"; testing time: 190ms
Entering test case "lround_test"
Leaving test case "lround_test"
Entering test case "aligned_allocator_test"
Leaving test case "aligned_allocator_test"
Entering test case "dsp_test"
add: 0.0789999s < 1.20288s
Leaving test case "dsp_test"; testing time: 1810ms
Entering test case "affinity_test"
process affinity mask active count: 4
thread affinity mask active count: 4
Test case affinity_test did not run any assertions
Leaving test case "affinity_test"
Entering test case "ring_buffer_test"
____________________________

ring typename: psycle::helpers::ring_buffers::ring_buffer_with_atomic_stdlib
ring buffer size: 256
number of cpu avail: 4
elements to process: 1e+08
rand gen typename: std::variate_generator<std::mersenne_twister<unsigned long, 32, 624, 397, 31, 2567483615ul, 11, 7, 2636928640ul, 15, 4022730752ul, 18>, std::uniform_int<unsigned long> >
rand gen dist range: 64 128
writer rand gen seed: 751494533
reader rand gen seed: 3837117880
running ... 
done.
duration: 0.995897 seconds
troughput: 1.00412e+08 elements/second

____________________________

ring typename: psycle::helpers::ring_buffers::ring_buffer_with_explicit_memory_barriers
ring buffer size: 256
number of cpu avail: 4
elements to process: 1e+08
rand gen typename: std::variate_generator<std::mersenne_twister<unsigned long, 32, 624, 397, 31, 2567483615ul, 11, 7, 2636928640ul, 15, 4022730752ul, 18>, std::uniform_int<unsigned long> >
rand gen dist range: 64 128
writer rand gen seed: 751494533
reader rand gen seed: 3837117880
running ... 
done.
duration: 0.981401 seconds
troughput: 1.01895e+08 elements/second

____________________________

ring typename: psycle::helpers::ring_buffers::ring_buffer_with_compiler_volatile
ring buffer size: 256
number of cpu avail: 4
elements to process: 1e+08
rand gen typename: std::variate_generator<std::mersenne_twister<unsigned long, 32, 624, 397, 31, 2567483615ul, 11, 7, 2636928640ul, 15, 4022730752ul, 18>, std::uniform_int<unsigned long> >
rand gen dist range: 64 128
writer rand gen seed: 751494533
reader rand gen seed: 3837117880
running ... 
done.
duration: 0.967841 seconds
troughput: 1.03323e+08 elements/second

Leaving test case "ring_buffer_test"; testing time: 5850ms
Leaving test suite "Master Test Suite"

Test suite "Master Test Suite" passed with:
  160297 assertions out of 160297 passed
  16 test cases out of 16 passed

  Test case "duration_test" passed with:
    34 assertions out of 34 passed

  Test case "time_point_test" passed with:
    3 assertions out of 3 passed

  Test case "thread_hardware_concurrency_test" passed with:
    1 assertion out of 1 passed

  Test case "measure_clocks_os_test" passed with:
    100004 assertions out of 100004 passed

  Test case "measure_clocks_stdlib_test" passed with:
    104 assertions out of 104 passed

  Test case "fast_log2_test" passed with:
    45 assertions out of 45 passed

  Test case "fast_sin_test" passed with:
    4 assertions out of 4 passed

  Test case "sincos_test" passed with:
    30 assertions out of 30 passed

  Test case "lrint_test" passed with:
    59941 assertions out of 59941 passed

  Test case "lrint_c1999_test" passed with:
    16 assertions out of 16 passed

  Test case "sinseq_test" passed with:
    3 assertions out of 3 passed

  Test case "lround_test" passed with:
    8 assertions out of 8 passed

  Test case "aligned_allocator_test" passed with:
    100 assertions out of 100 passed

  Test case "dsp_test" passed with:
    1 assertion out of 1 passed

  Test case "affinity_test" passed

  Test case "ring_buffer_test" passed with:
    3 assertions out of 3 passed

program finished with exit code 0
elapsedTime=7.888685