// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* @fileoverview Externs for objects use by chrome://sys-internals.
* @externs
*/
/**
* |getSysInfo| cpu result.
* @typedef {{
* idle: number,
* kernel: number,
* total: number,
* user: number,
* }}
*/
let SysInfoApiCpuResult;
/**
* |getSysInfo| memory result.
* @typedef {{
* available: number,
* pswpin: number,
* pswpout: number,
* swapFree: number,
* swapTotal: number,
* total: number,
* }}
*/
let SysInfoApiMemoryResult;
/**
* |getSysInfo| zram result.
* @typedef {{
* comprDataSize: number,
* memUsedTotal: number,
* numReads: number,
* numWrites: number,
* origDataSize: number,
* }}
*/
let SysInfoApiZramResult;
/**
* |getSysInfo| api result.
* @typedef {{
* const: {counterMax: number},
* cpus: !Array<!SysInfoApiCpuResult>,
* memory: !SysInfoApiMemoryResult,
* zram: !SysInfoApiZramResult,
* }}
*/
let SysInfoApiResult;