Searched hist:9528 (Results 1 - 4 of 4) sorted by relevance
/gem5/src/python/m5/util/ | ||
H A D | __init__.py | diff 9528:d05714c2ab9c Fri Feb 15 17:40:00 EST 2013 Sascha Bischoff <sascha.bischoff@arm.com> base: Add warn() and inform() to m5.utils for use from python This patch adds two fuctions to m5.util, warn and inform, which mirror those found in the C++ side of gem5. These are added in addition to the already existing m5.util.panic and m5.util.fatal which already mirror the C++ functionality. This ensures that warning and information messages generated by python are in the same format as those generated by C++. Occurrences of print "Warning: %s..." % name have been replaced with warn("%s...", name) |
H A D | dot_writer.py | diff 9528:d05714c2ab9c Fri Feb 15 17:40:00 EST 2013 Sascha Bischoff <sascha.bischoff@arm.com> base: Add warn() and inform() to m5.utils for use from python This patch adds two fuctions to m5.util, warn and inform, which mirror those found in the C++ side of gem5. These are added in addition to the already existing m5.util.panic and m5.util.fatal which already mirror the C++ functionality. This ensures that warning and information messages generated by python are in the same format as those generated by C++. Occurrences of print "Warning: %s..." % name have been replaced with warn("%s...", name) |
/gem5/src/python/m5/ | ||
H A D | ticks.py | diff 9528:d05714c2ab9c Fri Feb 15 17:40:00 EST 2013 Sascha Bischoff <sascha.bischoff@arm.com> base: Add warn() and inform() to m5.utils for use from python This patch adds two fuctions to m5.util, warn and inform, which mirror those found in the C++ side of gem5. These are added in addition to the already existing m5.util.panic and m5.util.fatal which already mirror the C++ functionality. This ensures that warning and information messages generated by python are in the same format as those generated by C++. Occurrences of print "Warning: %s..." % name have been replaced with warn("%s...", name) |
H A D | SimObject.py | diff 9528:d05714c2ab9c Fri Feb 15 17:40:00 EST 2013 Sascha Bischoff <sascha.bischoff@arm.com> base: Add warn() and inform() to m5.utils for use from python This patch adds two fuctions to m5.util, warn and inform, which mirror those found in the C++ side of gem5. These are added in addition to the already existing m5.util.panic and m5.util.fatal which already mirror the C++ functionality. This ensures that warning and information messages generated by python are in the same format as those generated by C++. Occurrences of print "Warning: %s..." % name have been replaced with warn("%s...", name) |
Completed in 41 milliseconds