Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
dynamic-graph
Commits
6795adee
Commit
6795adee
authored
May 21, 2020
by
Olivier Stasse
Committed by
olivier stasse
May 25, 2020
Browse files
[src/tracer-real-time] Remove code in comments.
parent
9d2d74ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/traces/tracer-real-time.cpp
View file @
6795adee
...
...
@@ -198,29 +198,9 @@ void TracerRealTime::trace() {
}
if
((
hardFile
.
good
())
&&
(
NULL
!=
file
))
{
// const unsigned int SIZE = 1024*8;
// char buffer[SIZE];
// streambuf * pbuf = file.rdbuf ();
// pbuf->pubseekpos(0);
// const unsigned int NB_BYTE = pbuf->in_avail ();
// dgDEBUG(35) << "Bytes in buffer: " << NB_BYTE << endl;
// //dgDEBUG(35) << "Copie" <<endl<<file.str ()<< endl;
// for( unsigned int index=0;index<NB_BYTE;index+=SIZE )
// {
// pbuf->pubseekpos( index );
// int nget = pbuf->sgetn( buffer,SIZE );
// dgDEBUG(35) << "Copie ["<<nget<<"] " <<buffer<<endl;
// hardFile.write( buffer,nget );
// }
// hardFile << file.str () << flush;
// file.seekp(0);
file
->
dump
(
hardFile
);
file
->
empty
();
hardFile
.
flush
();
// file.str("");
}
++
iter
;
...
...
@@ -246,13 +226,6 @@ void TracerRealTime::emptyBuffers() {
dgDEBUGOUT
(
15
);
}
// void TracerRealTime::
// emptyBuffer( std::stringstream & file )
// {
// streambuf * pbuf = file.rdbuf ();
// pbuf->file.rdbuf () ->pubsetbuf( fileBuffer,10 );
// }
void
TracerRealTime
::
recordSignal
(
std
::
ostream
&
os
,
const
SignalBase
<
int
>
&
sig
)
{
dgDEBUGIN
(
15
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment