#include "linden_common.h"
#include "llsys.h"
#include <iostream>
#include "zlib/zlib.h"
#include "llprocessor.h"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &s, const LLOSInfo &info) |
std::ostream & | operator<< (std::ostream &s, const LLCPUInfo &info) |
std::ostream & | operator<< (std::ostream &s, const LLMemoryInfo &info) |
BOOL | gunzip_file (const char *srcfile, const char *dstfile) |
BOOL | gzip_file (const char *srcfile, const char *dstfile) |
Variables | |
static const S32 | CPUINFO_BUFFER_SIZE = 16383 |
LLCPUInfo | gSysCPU |
const S32 | STATUS_SIZE = 8192 |
Copyright (c) 2002-2008, Linden Research, Inc.
Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/flossexception
By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.
ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$
Definition in file llsys.cpp.
BOOL gunzip_file | ( | const char * | srcfile, | |
const char * | dstfile | |||
) |
Definition at line 661 of file llsys.cpp.
References FALSE, LLFile::fopen(), LL_MAX_PATH, llendl, llwarns, NULL, LLFile::rename(), S32, and TRUE.
Referenced by LLInventoryModel::loadSkeleton().
BOOL gzip_file | ( | const char * | srcfile, | |
const char * | dstfile | |||
) |
Definition at line 696 of file llsys.cpp.
References FALSE, LLFile::fopen(), LL_MAX_PATH, NULL, LLFile::remove(), LLFile::rename(), S32, and TRUE.
Referenced by LLInventoryModel::cache().
std::ostream& operator<< | ( | std::ostream & | s, | |
const LLMemoryInfo & | info | |||
) |
Definition at line 655 of file llsys.cpp.
References LLMemoryInfo::stream().
std::ostream& operator<< | ( | std::ostream & | s, | |
const LLCPUInfo & | info | |||
) |
Definition at line 649 of file llsys.cpp.
References LLCPUInfo::stream().
std::ostream& operator<< | ( | std::ostream & | s, | |
const LLOSInfo & | info | |||
) |
Definition at line 643 of file llsys.cpp.
References LLOSInfo::stream().
const S32 CPUINFO_BUFFER_SIZE = 16383 [static] |
Definition at line 65 of file llsys.cpp.
Referenced by LLFloaterReporter::gatherReport(), LLAppViewer::init(), LLAppViewer::initConfiguration(), LLViewerJoystick::LLViewerJoystick(), send_stats(), settings_modify(), and LLAppViewer::writeSystemInfo().
const S32 STATUS_SIZE = 8192 |
Definition at line 287 of file llsys.cpp.
Referenced by LLOSInfo::getProcessResidentSizeKB(), and LLOSInfo::getProcessVirtualSizeKB().