flash_device.cc (11422:4f749e00b667) flash_device.cc (11430:bd1c6789c33f)
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

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

467FlashDevice::getUnknownPages(uint32_t index)
468{
469 return unknownPages[index >> 5] & (0x01 << (index % 32));
470}
471
472void
473FlashDevice::regStats()
474{
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

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

467FlashDevice::getUnknownPages(uint32_t index)
468{
469 return unknownPages[index >> 5] & (0x01 << (index % 32));
470}
471
472void
473FlashDevice::regStats()
474{
475 AbstractNVM::regStats();
476
477 using namespace Stats;
478
479 std::string fd_name = name() + ".FlashDevice";
480
481 // Register the stats
482 /** Amount of GC activations*/
483 stats.totalGCActivations
484 .name(fd_name + ".totalGCActivations")

--- 113 unchanged lines hidden ---
475 using namespace Stats;
476
477 std::string fd_name = name() + ".FlashDevice";
478
479 // Register the stats
480 /** Amount of GC activations*/
481 stats.totalGCActivations
482 .name(fd_name + ".totalGCActivations")

--- 113 unchanged lines hidden ---