projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Show the latency histograms by IP address rather than by trace
[lttv.git]
/
lttv
/
lttv
/
sync
/
sync_chain_lttv.c
diff --git
a/lttv/lttv/sync/sync_chain_lttv.c
b/lttv/lttv/sync/sync_chain_lttv.c
index 48a2be5884eb695d6e467e3106be63ff57621e59..4a70154884a63a59ac703abecc95dca5753a6c76 100644
(file)
--- a/
lttv/lttv/sync/sync_chain_lttv.c
+++ b/
lttv/lttv/sync/sync_chain_lttv.c
@@
-218,6
+218,10
@@
void syncTraceset(LttvTracesetContext* const traceSetContext)
g_error(strerror(errno));
}
g_error(strerror(errno));
}
+ fprintf(syncState->graphsStream,
+ "#!/usr/bin/gnuplot\n\n"
+ "set terminal postscript eps color size 8in,6in\n");
+
retval= chdir(cwd);
if (retval == -1)
{
retval= chdir(cwd);
if (retval == -1)
{
@@
-281,10
+285,6
@@
void syncTraceset(LttvTracesetContext* const traceSetContext)
// Write graphs file
if (optionSyncGraphs.present)
{
// Write graphs file
if (optionSyncGraphs.present)
{
- fprintf(syncState->graphsStream,
- "#!/usr/bin/gnuplot\n\n"
- "set terminal postscript eps color size 8in,6in\n");
-
// Cover the upper triangular matrix, i is the reference node.
for (i= 0; i < syncState->traceNb; i++)
{
// Cover the upper triangular matrix, i is the reference node.
for (i= 0; i < syncState->traceNb; i++)
{
@@
-293,7
+293,8
@@
void syncTraceset(LttvTracesetContext* const traceSetContext)
long pos1, pos2, trunc;
fprintf(syncState->graphsStream,
long pos1, pos2, trunc;
fprintf(syncState->graphsStream,
- "\nset output \"%03d-%03d.eps\"\n"
+ "\nreset\n"
+ "set output \"%03d-%03d.eps\"\n"
"plot \\\n", i, j);
if (syncState->processingModule->writeProcessingGraphsPlots)
"plot \\\n", i, j);
if (syncState->processingModule->writeProcessingGraphsPlots)
This page took
0.023387 seconds
and
4
git commands to generate.