memstatdump.h
来自「一个用在mips体系结构中的操作系统」· C头文件 代码 · 共 46 行
H
46 行
/* * Copyright (C) 1996-1998 by the Board of Trustees * of Leland Stanford Junior University. * * This file is part of the SimOS distribution. * See LICENSE file for terms of the license. * *//***************************************************************** * memstatdump.h * * Reads the memstat.output* files * * Author: $bugnion$ * Date: $$ *******************************************************************/#ifndef MEMSTATDUMP_H#define MEMSTATDUMP_H#define MEMSTAT_TYPES_ONLY#include <stdio.h>#include "../../../common/stats/simrecord.h" typedef enum { Low, /* 4 MB bucket */ High, /* cache line buckets */ Detail /* word size buckets */} Resolution;extern SimRecHeader msHeader;#define MEMSTAT_COUNTER sizeof(MemStatCounter)int MemStatFileOpen(char *filename);void MemStatFileIterate( void (*process)(VA addr,void *,Resolution));void MemStatDiff(char *file1,char *file2, char *file3);int GetLineFromFile(FILE *f, char *buf,int len);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?