Home | History | Annotate | Download | only in src

Lines Matching defs:Sat

15 // sat.cc : a stress test for stressful testing
17 // stressapptest (or SAT, from Stressful Application Test) is a test
47 #include "sat.h"
59 // This makes Sat objects not safe for multiple instances.
61 Sat *g_sat = NULL;
76 bool Sat::InitializeLogfile() {
110 bool Sat::CheckEnvironment() {
115 logprintf(1, "Log: Running DEBUG version of SAT, "
118 logprintf(0, "Process Error: Running DEBUG version of SAT, "
200 bool Sat::AllocateMemory() {
212 bool Sat::InitializePatterns() {
229 bool Sat::GetValid(struct page_entry *pe) {
235 bool Sat::GetValid(struct page_entry *pe, int32 tag) {
255 bool Sat::PutValid(struct page_entry *pe) {
270 bool Sat::GetEmpty(struct page_entry *pe) {
274 bool Sat::GetEmpty(struct page_entry *pe, int32 tag) {
289 bool Sat::PutEmpty(struct page_entry *pe) {
304 // accessed under this run of SAT.
305 void Sat::AddrMapInit() {
328 // Add the 4k pages in this block to the array of pages SAT has seen.
329 void Sat::AddrMapUpdate(struct page_entry *pe) {
353 // Print out the physical memory ranges that SAT has accessed.
354 void Sat::AddrMapPrint() {
382 bool Sat::InitializePages() {
538 // Print SAT version info.
539 bool Sat::PrintVersion() {
540 logprintf(1, "Stats: SAT revision %s, %d bit binary\n",
548 SAT needs to run.
551 bool Sat::Initialize() {
590 // Run SAT in monitor only mode, do not continue to allocate resources.
602 logprintf(5, "Stats: Starting SAT, %dM, %d seconds\n",
635 Sat::Sat() {
725 Sat::~Sat() {
753 // Configures SAT from command line arguments.
756 bool Sat::ParseArgs(int argc, char **argv) {
862 // Run SAT in monitor mode. No test load at all.
865 // Run SAT in address mode. Tag all cachelines by virt addr.
914 // Run threads that listen for incoming SAT net connections.
976 void Sat::PrintHelp() {
977 printf("Usage: ./sat(32|64) [options]\n"
1036 bool Sat::CheckGoogleSpecificArgs(int argc, char **argv, int *i) {
1041 void Sat::GoogleOsOptions(std::map<std::string, std::string> *options) {
1045 // Launch the SAT task threads. Returns 0 on error.
1046 void Sat::InitializeThreads() {
1068 // Only start error poll threads for monitor-mode SAT,
1318 int Sat::CpuCount() {
1323 void Sat::JoinThreads() {
1432 void Sat::QueueStats() {
1436 void Sat::AnalysisAllStats() {
1466 void Sat::MemoryStats() {
1491 void Sat::GoogleMemoryStats(float *memcopy_data,
1496 void Sat::FileStats() {
1512 void Sat::CheckStats() {
1528 void Sat::NetStats() {
1552 void Sat::InvertStats() {
1568 void Sat::DiskStats() {
1594 // You can add more methods here just subclassing SAT.
1595 void Sat::RunAnalysis() {
1606 int64 Sat::GetTotalErrorCount() {
1622 void Sat::SpawnThreads() {
1638 void Sat::DeleteThreads() {
1656 // Calculates the next time an action in Sat::Run() should occur, based on a
1674 bool Sat::Run() {
1813 bool Sat::Cleanup() {
1872 bool Sat::PrintResults() {
1891 void Sat::AcquireWorkerLock() {
1894 void Sat::ReleaseWorkerLock() {