Add ability to slightly perturb latency of ethernet/memory
authorAli Saidi <saidi@eecs.umich.edu>
Wed, 2 Nov 2005 19:47:37 +0000 (14:47 -0500)
committerAli Saidi <saidi@eecs.umich.edu>
Wed, 2 Nov 2005 19:47:37 +0000 (14:47 -0500)
commit07ef1170e0bc04a0490d229c3e58c4a70fa4a1f1
tree7c9fd0881a71ecf4a33ba6aaf00df8ed127cc8d5
parent0b3c27f14975718c00367e901fb548fda2bc7dd1
Add ability to slightly perturb latency of ethernet/memory

base/random.cc:
    Change normal random function to Xrand48 so we have one source of
    randomness for everything.
base/random.hh:
    Add uniform distribution ability to random functions
dev/etherlink.cc:
dev/etherlink.hh:
    Add ability to slightly perturb latency of ethernet

--HG--
extra : convert_revision : f7f856761fd525c233ae2a6d993b1fd702b488f7
base/random.cc
base/random.hh
dev/etherlink.cc
dev/etherlink.hh