Sierra Toolkit  Version of the Day
FormatMemorySize.hpp
1 /*------------------------------------------------------------------------*/
2 /* Copyright 2010, 2011 Sandia Corporation. */
3 /* Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive */
4 /* license for use of this work by or on behalf of the U.S. Government. */
5 /* Export of this program may require a license from the */
6 /* United States Government. */
7 /*------------------------------------------------------------------------*/
8 
9 #ifndef stk_util_environment_FormatMemorySize_hpp
10 #define stk_util_environment_FormatMemorySize_hpp
11 
12 #include <string>
13 
14 namespace stk_classic {
15 
16 typedef size_t MemorySize;
17 
18 std::string formatMemorySize(double time);
19 std::string formatMemorySize(MemorySize time);
20 
21 } // namespace stk_classic
22 
23 #endif // stk_util_environment_FormatMemorySize_hpp
Sierra Toolkit.