Changeset 3404


Ignore:
Timestamp:
Aug 6, 2015, 8:10:19 AM (3 years ago)
Author:
bruno
Message:

Attempt to fix percentage analysis for mindi

Use now MINDI_RUNFILE to store mindi execution traces and refer to it in
mondo to get the percentages of operations done in mindi. Should bring
back a better UI when mindi is called

Location:
branches/3.2/mondo/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/common/libmondo-archive.c

    r3401 r3404  
    867867            "no",           // parameter #22 (STRING) bootable image ?
    868868            boot_type,      // parameter #23 (STRING)
    869             MONDO_LOGFILE       // redirect to log file (#24)
     869            MINDI_RUNFILE       // redirect to log file (#24)
    870870            );
    871871
  • branches/3.2/mondo/src/common/libmondo-fork.c

    r3349 r3404  
    653653    for (sleep(1); command[0] != '\0'; sleep(1)) {
    654654        if (strstr(cmd,"mindi") != NULL) {
    655             pcno = grab_percentage_from_last_line_of_file(MINDI_LOGFILE);
     655            pcno = grab_percentage_from_last_line_of_file(MINDI_RUNFILE);
    656656        } else {
    657657            pcno = grab_percentage_from_last_line_of_file(MONDO_LOGFILE);
  • branches/3.2/mondo/src/include/my-stuff.h

    r3292 r3404  
    7777#define MINDI_CACHE "/"MINDI_CACHE_REL
    7878#define MINDI_LOGFILE "/var/log/mindi.log"
     79#define MINDI_RUNFILE "/var/log/mindi.run"
    7980
    8081/**
Note: See TracChangeset for help on using the changeset viewer.