Diff of /gui/oprof_start_util.cpp [a8d9ee] .. [fcb818] Maximize Restore

  Switch to unified view

a/gui/oprof_start_util.cpp b/gui/oprof_start_util.cpp
...
...
94
        return;
94
        return;
95
95
96
    nr_interrupts = 0;
96
    nr_interrupts = 0;
97
97
98
    switch (op_get_interface()) {
98
    switch (op_get_interface()) {
99
  case OP_INTERFACE_24:
100
      {
101
          ifstream ifs3("/proc/sys/dev/oprofile/nr_interrupts");
102
          if (ifs3)
103
              ifs3 >> nr_interrupts;
104
      }
105
      break;
106
    case OP_INTERFACE_26:
99
    case OP_INTERFACE_26:
107
        {
100
        {
108
            static unsigned int old_sum_interrupts;
101
            static unsigned int old_sum_interrupts;
109
            unsigned int sum_interrupts = 0;
102
            unsigned int sum_interrupts = 0;
110
            glob_t file_names;
103
            glob_t file_names;