random_gen.hh (12396:3d04ea44fafb) | random_gen.hh (12804:f47e75dce5c6) |
---|---|
1/* 2 * Copyright (c) 2012-2013, 2017 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 --- 39 unchanged lines hidden (view full) --- 48 49#ifndef __CPU_TRAFFIC_GEN_RANDOM_GEN_HH__ 50#define __CPU_TRAFFIC_GEN_RANDOM_GEN_HH__ 51 52#include "base/bitfield.hh" 53#include "base/intmath.hh" 54#include "base_gen.hh" 55#include "mem/packet.hh" | 1/* 2 * Copyright (c) 2012-2013, 2017 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 --- 39 unchanged lines hidden (view full) --- 48 49#ifndef __CPU_TRAFFIC_GEN_RANDOM_GEN_HH__ 50#define __CPU_TRAFFIC_GEN_RANDOM_GEN_HH__ 51 52#include "base/bitfield.hh" 53#include "base/intmath.hh" 54#include "base_gen.hh" 55#include "mem/packet.hh" |
56#include "proto/protoio.hh" | |
57 58/** 59 * The random generator is similar to the linear one, but does 60 * not generate sequential addresses. Instead it randomly 61 * picks an address in the range, aligned to the block size. 62 */ 63class RandomGen : public BaseGen 64{ --- 68 unchanged lines hidden --- | 56 57/** 58 * The random generator is similar to the linear one, but does 59 * not generate sequential addresses. Instead it randomly 60 * picks an address in the range, aligned to the block size. 61 */ 62class RandomGen : public BaseGen 63{ --- 68 unchanged lines hidden --- |