random.cc (11793:ef606668d247) | random.cc (12334:e0ab29a34764) |
---|---|
1/* 2 * Copyright (c) 2014 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 --- 32 unchanged lines hidden (view full) --- 41 * Ali Saidi 42 * Andreas Hansson 43 */ 44 45#include "base/random.hh" 46 47#include <sstream> 48 | 1/* 2 * Copyright (c) 2014 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 --- 32 unchanged lines hidden (view full) --- 41 * Ali Saidi 42 * Andreas Hansson 43 */ 44 45#include "base/random.hh" 46 47#include <sstream> 48 |
49#include "base/misc.hh" | 49#include "base/logging.hh" |
50#include "sim/serialize.hh" 51 52Random::Random() 53{ 54 // default random seed 55 init(5489); 56} 57 --- 43 unchanged lines hidden --- | 50#include "sim/serialize.hh" 51 52Random::Random() 53{ 54 // default random seed 55 init(5489); 56} 57 --- 43 unchanged lines hidden --- |