diff options
author | Nathan Binkert <nate@binkert.org> | 2009-07-06 15:49:47 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2009-07-06 15:49:47 -0700 |
commit | 92de70b69aaf3f399a855057b556ed198139e5d8 (patch) | |
tree | f8e7d0d494df8810cc960be4c52d8b555471f157 /src/mem/gems_common/util.hh | |
parent | 05f6a4a6b92370162da17ef5cccb5a7e3ba508e5 (diff) | |
download | gem5-92de70b69aaf3f399a855057b556ed198139e5d8.tar.xz |
ruby: Import the latest ruby changes from gems.
This was done with an automated process, so there could be things that were
done in this tree in the past that didn't make it. One known regression
is that atomic memory operations do not seem to work properly anymore.
Diffstat (limited to 'src/mem/gems_common/util.hh')
-rw-r--r-- | src/mem/gems_common/util.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/gems_common/util.hh b/src/mem/gems_common/util.hh index 7b32f24e8..7afe57a85 100644 --- a/src/mem/gems_common/util.hh +++ b/src/mem/gems_common/util.hh @@ -39,6 +39,7 @@ string string_split(string& str, char split_character); string bool_to_string(bool value); string int_to_string(int n, bool zero_fill = false, int width = 0); float string_to_float(string& str); +bool string_to_bool(const string & str); int log_int(long long n); bool is_power_of_2(long long n); |