-
Notifications
You must be signed in to change notification settings - Fork 8
Max comments #40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Max comments #40
Conversation
streaming info when displayed. Needs to be fixed
graph displaying useless data
memory leak as well.. Needs work
Needs to show absolute value
zoom & drag funcition. Lots of trash code that needs to be cleaned
scroll with keyboard.
either iat dev or bitrate on graph.
works with setRange
accessible for graph!
it only updates it for one stream at a time.
axis titles, ts-files, changeStream doesnt work well for IAT dev.
actually working pretty well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A bunch of commented code and whitespace should also be removed.
|
|
||
|
|
||
|
|
||
| if (lastDuration > 1000000000){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this check?
| if (duration - lastDuration >= emitFrequency) { | ||
| bitrate = (bytes - lastSecondBytes)*8*1000/(duration - lastDuration); | ||
| lastSecondBytes = bytes; | ||
| // lastDuration = duration; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't use lastDuration in two places like this. Not sure this is actually run.
emitFrequency should mean that this is run every emit, in that case just move it to the other "emit" code below.
|
|
||
| emit status(AnalyzerStatus(Status::STATUS_PERIODIC, bytes, duration, bitrate, duration, pidMap, tsErrors, proto, tsPerIp)); | ||
| emit workerStatus(WorkerStatus(WorkerStatus::STATUS_PERIODIC, streams)); | ||
| if(bitrate / 1000000 < 100){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't need this check
| QString s3 = "IAT deviation"; | ||
|
|
||
| QString string = ( s1+ s2 + s3 ); | ||
| stream << string << endl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor point: Use "\n" or "\r\n" as newline (consistently) instead of endl.
So we don't depend on whatever the implementation thinks endl is. Also I think it's an implicit flush.
| @@ -0,0 +1,342 @@ | |||
| #include "recordwidgetgraph.h" | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.