c++/lpt-signal-generator/lpt.cpp
changeset 47 9e2addbb9674
parent 46 616e71c2d754
child 48 254d5d1bc659
     1.1 --- a/c++/lpt-signal-generator/lpt.cpp	Sun Jun 04 18:55:08 2017 +0200
     1.2 +++ b/c++/lpt-signal-generator/lpt.cpp	Fri Jun 09 23:23:25 2017 +0200
     1.3 @@ -38,7 +38,7 @@
     1.4  
     1.5  using namespace std;
     1.6  
     1.7 -// run this program: g++ -std=c++11 lpt.cpp && time chrt 1 ./a.out
     1.8 +// run this program: make run
     1.9  // depending on frequency and machine performance the total time will be more than given duration
    1.10  // despite the real-time priority, because some additional time is spent in outb() functions
    1.11  // so "duration" means total sleep time