Searched hist:4841 (Results 1 - 3 of 3) sorted by relevance

/gem5/src/sim/
H A Dserialize.cc4841:89a9419e7361 Thu Aug 02 14:43:00 EDT 2007 Ali Saidi <saidi@eecs.umich.edu> Serialization: Provide array serialization methods that work on std::vector
H A Dserialize.hh4841:89a9419e7361 Thu Aug 02 14:43:00 EDT 2007 Ali Saidi <saidi@eecs.umich.edu> Serialization: Provide array serialization methods that work on std::vector
/gem5/src/python/m5/
H A Dparams.py12193:ae90e2b82531 Mon Sep 25 18:17:00 EDT 2017 Gabe Black <gabeblack@google.com> sim: Only consider non-NULL elements in SimObjectVector.has_parent.

NullSimObject doesn't have a has_parent function, and it's not clear what its
return value should be if one were added. The appropriate value seems to
depend on why some other bit of code is checking if there's a parent in the
first place.

In SimObjectVector, the has_parent function is checking whether all of its
elements have a parent. In this particular case, the most reasonable thing
to do seems to be to just skip those elements.

Change-Id: I5f8cad66d1b22c5e37962492fd77cff9371e5af8
Reviewed-on: https://gem5-review.googlesource.com/4841
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Gabe Black <gabeblack@google.com>

Completed in 63 milliseconds