flash_device.cc (11487:bada30129c84) | flash_device.cc (11523:81332eb10367) |
---|---|
1/* 2 * Copyright (c) 2013-2015 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 --- 457 unchanged lines hidden (view full) --- 466FlashDevice::getUnknownPages(uint32_t index) 467{ 468 return unknownPages[index >> 5] & (0x01 << (index % 32)); 469} 470 471void 472FlashDevice::regStats() 473{ | 1/* 2 * Copyright (c) 2013-2015 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 --- 457 unchanged lines hidden (view full) --- 466FlashDevice::getUnknownPages(uint32_t index) 467{ 468 return unknownPages[index >> 5] & (0x01 << (index % 32)); 469} 470 471void 472FlashDevice::regStats() 473{ |
474 AbstractNVM::regStats(); 475 |
|
474 using namespace Stats; 475 476 std::string fd_name = name() + ".FlashDevice"; 477 478 // Register the stats 479 /** Amount of GC activations*/ 480 stats.totalGCActivations 481 .name(fd_name + ".totalGCActivations") --- 113 unchanged lines hidden --- | 476 using namespace Stats; 477 478 std::string fd_name = name() + ".FlashDevice"; 479 480 // Register the stats 481 /** Amount of GC activations*/ 482 stats.totalGCActivations 483 .name(fd_name + ".totalGCActivations") --- 113 unchanged lines hidden --- |