hal/fallback/FallbackProcessPriority.cpp
author Gabriele Svelto <gsvelto@mozilla.com>
Wed, 25 Feb 2015 09:37:38 +0100
changeset 251638 908eaacff6f499831472cfb923d91afd8b2e3d0b
parent 249466 44e25e482ff46ebc94ccc4dd3f0cb9443136e029
child 272680 91d6e262b662a0b4e47358665e222d3927337af9
permissions -rw-r--r--
Bug 892371 - Adjust oom_score_adj values for foreground processes according to an LRU policy. r=dhylands, r=khuey

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "Hal.h"
#include "HalLog.h"

using namespace mozilla::hal;

namespace mozilla {
namespace hal_impl {

void
SetProcessPriority(int aPid, ProcessPriority aPriority, uint32_t aLRU)
{
  HAL_LOG("FallbackProcessPriority - SetProcessPriority(%d, %s, %u)\n",
          aPid, ProcessPriorityToString(aPriority), aLRU);
}

} // hal_impl
} // namespace mozilla