Skip to content

Commit

Permalink
add arch to telemetry, #507
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Jun 28, 2017
1 parent 1add158 commit ddafd22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/vs/workbench/services/timer/common/timerService.ts
Expand Up @@ -33,6 +33,7 @@ export interface IStartupMetrics {
timers2: { [name: string]: number };
platform: string;
release: string;
arch: string;
totalmem: number;
freemem: number;
meminfo: IMemoryInfo;
Expand Down
3 changes: 3 additions & 0 deletions src/vs/workbench/services/timer/node/timerService.ts
Expand Up @@ -68,6 +68,7 @@ export class TimerService implements ITimerService {
let cpus: { count: number; speed: number; model: string; };
let platform: string;
let release: string;
let arch: string;
let loadavg: number[];
let meminfo: IMemoryInfo;
let isVMLikelyhood: number;
Expand All @@ -77,6 +78,7 @@ export class TimerService implements ITimerService {
freemem = os.freemem();
platform = os.platform();
release = os.release();
arch = os.arch();
loadavg = os.loadavg();
meminfo = process.getProcessMemoryInfo();

Expand Down Expand Up @@ -112,6 +114,7 @@ export class TimerService implements ITimerService {
timers2,
platform,
release,
arch,
totalmem,
freemem,
meminfo,
Expand Down

0 comments on commit ddafd22

Please sign in to comment.