Changeset 3d01ef7
- Timestamp:
- 11/12/18 17:48:10 (4 years ago)
- Branches:
- develop
- Children:
- 8865858
- Parents:
- 6c8579e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/tutorial/ipdist-parallel.c
r6c8579e r3d01ef7 54 54 uint64_t tickrate; 55 55 56 char *stats_outputdir = " /home/jcv9/output/";56 char *stats_outputdir = ""; 57 57 /* Calculate and plot the percentage change from the previous plot */ 58 58 int stats_percentage_change = 1; … … 340 340 static void plot_results(struct addr_local *tally, uint64_t tick) { 341 341 342 int i, j; 343 342 344 /* Calculations before reporting the results */ 343 345 /* Need to initialise lastoutput values on first pass, … … 361 363 snprintf(outputfile, sizeof(outputfile), "%sipdist-%u.data", stats_outputdir, tick); 362 364 FILE *tmp = fopen(outputfile, "w"); 363 int i, j;364 365 fprintf(tmp, "#\tHits"); 365 366 if(stats_percentage_change) {
Note: See TracChangeset
for help on using the changeset viewer.