Sierra Toolkit Version of the Day
FormatMemorySize.hpp
00001 /*------------------------------------------------------------------------*/
00002 /*                 Copyright 2010, 2011 Sandia Corporation.                     */
00003 /*  Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive   */
00004 /*  license for use of this work by or on behalf of the U.S. Government.  */
00005 /*  Export of this program may require a license from the                 */
00006 /*  United States Government.                                             */
00007 /*------------------------------------------------------------------------*/
00008 
00009 #ifndef stk_util_environment_FormatMemorySize_hpp
00010 #define stk_util_environment_FormatMemorySize_hpp
00011 
00012 #include <string>
00013 
00014 namespace stk {
00015 
00016 typedef size_t MemorySize;
00017 
00018 std::string formatMemorySize(double time);
00019 std::string formatMemorySize(MemorySize time);
00020 
00021 } // namespace stk
00022 
00023 #endif // stk_util_environment_FormatMemorySize_hpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines