diff options
author | John Langford <jl@jl-desktop.(none)> | 2011-08-13 19:26:49 +0400 |
---|---|---|
committer | John Langford <jl@jl-desktop.(none)> | 2011-08-13 19:26:49 +0400 |
commit | 717308610a893462cc580a9cd17422a244c7b078 (patch) | |
tree | 9370ba93f00590ee3b2c00f8874ae2b12a20ecaf /bfgs.cc | |
parent | dfc0e5d3f47e58525dfe74f1b63a7caa644410f6 (diff) |
Alekh current cluster parallel patch
Diffstat (limited to 'bfgs.cc')
-rw-r--r-- | bfgs.cc | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -779,9 +779,10 @@ void setup_bfgs(gd_thread_params t) ftime(&t_end_global); net_time += (int) (1000.0 * (t_end_global.time - t_start_global.time) + (t_end_global.millitm - t_start_global.millitm)); - cerr<<"Net time spent in communication = "<<(float)net_comm_time/(float)1000<<"seconds\n"; - cerr<<"Net time spent = "<<(float)net_time/(float)1000<<"seconds\n"; - fflush(stderr); + if(!global.quiet) { + cerr<<"Net time spent in communication = "<<(float)net_comm_time/(float)1000<<"seconds\n"; + cerr<<"Net time spent = "<<(float)net_time/(float)1000<<"seconds\n"; + } return; } |