statistics.hh (14205:197360deaa20) statistics.hh (14266:711b485a4bf8)
1/*
2 * Copyright (c) 2019 Arm Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 248 unchanged lines hidden (view full) ---

257 {
258 auto info = new Info(self());
259 this->setInfo(parent, info);
260
261 if (parent)
262 parent->addStat(info);
263
264 if (name) {
1/*
2 * Copyright (c) 2019 Arm Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 248 unchanged lines hidden (view full) ---

257 {
258 auto info = new Info(self());
259 this->setInfo(parent, info);
260
261 if (parent)
262 parent->addStat(info);
263
264 if (name) {
265 info->setName(name);
265 info->setName(parent, name);
266 info->flags.set(display);
267 }
268
269 if (desc)
270 info->desc = desc;
271 }
272
273 /**

--- 3130 unchanged lines hidden ---
266 info->flags.set(display);
267 }
268
269 if (desc)
270 info->desc = desc;
271 }
272
273 /**

--- 3130 unchanged lines hidden ---