-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
Initial Commit See merge request shardus/shardus-perf-utils!1
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
build/ |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "./node_modules/gts/" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
.DS_Store |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
...require('gts/.prettierrc.json') | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
declare const _default: any; | ||
export default _default; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export declare const makeShortHash: (x: any, n?: number) => any; | ||
export declare const stringifyReduce: (val: any, isArrayProp?: boolean) => any; | ||
export declare const replacer: (key: any, value: any) => any; | ||
export declare const reviver: (key: any, value: any) => any; | ||
export declare const reviverExpander: (key: any, value: any) => any; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
export interface MemoryReporting { | ||
} | ||
export declare let memoryReportingInstance: MemoryReporting; | ||
declare type MemItem = { | ||
category: string; | ||
subcat: string; | ||
itemKey: string; | ||
count: number; | ||
}; | ||
export declare class MemoryReporting { | ||
report: MemItem[]; | ||
shardus: any; | ||
lastCPUTimes: any[]; | ||
statistics: any; | ||
stateManager: any; | ||
cycleCreator: any; | ||
nodeList: any; | ||
handlers: any; | ||
constructor(shardus: any, statistics: any, stateManager: any, cycleCreator: any, nodeList: any); | ||
setStatistics: (statistics: any) => void; | ||
memoryHandler: (req: any, res: any) => Promise<void>; | ||
memoryShortHandler: (req: any, res: any) => Promise<void>; | ||
memoryGcHandler: (req: any, res: any) => void; | ||
scaleFactorHandler: (req: any, res: any) => void; | ||
nodeListHandler: (req: any, res: any) => void; | ||
addNodesToReport: () => void; | ||
getMemoryStringBasic: () => string; | ||
updateCpuPercent: () => void; | ||
addToReport: (category: string, subcat: string, itemKey: string, count: number) => void; | ||
reportToStream: (report: MemItem[], indent: any) => string; | ||
gatherReport: () => void; | ||
gatherStateManagerReport: () => void; | ||
getCPUTimes: () => any[]; | ||
cpuPercent: () => number; | ||
roundTo3decimals: (num: any) => number; | ||
systemProcessReport: () => void; | ||
} | ||
export {}; |