Changeset 1008 for trunk/lib/Stats.cc


Ignore:
Timestamp:
Jan 3, 2010, 7:36:08 PM (12 years ago)
Author:
Peter Johansson
Message:

refs #405. support for fomrat none which is not really a format but images will be ignored.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Stats.cc

    r1007 r1008  
    364364                          const std::string& linetype) const
    365365  {
     366    if (Configuration::instance().image_format()=="none")
     367      return filename;
    366368    assert(total_stats().size());
    367369    Graph gp(filename+"."+Configuration::instance().image_format(),
     
    433435  void Stats::plot_summary(const std::string& filename) const
    434436  {
     437    if (Configuration::instance().image_format()=="none")
     438      return;
    435439    Graph gp(filename+"."+Configuration::instance().image_format(),
    436440             Configuration::instance().image_format());
Note: See TracChangeset for help on using the changeset viewer.