Deleted Added
sdiff udiff text old ( 13774:a1be2a0c55f2 ) new ( 13958:1945df12e5b0 )
full compact
1# Copyright (c) 2018 Metempsy Technology Consulting
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 72 unchanged lines hidden (view full) ---

81def bp_names():
82 """Return a list of valid Branch Predictor names."""
83 return list(_bp_classes.keys())
84
85# Add all BPs in the object hierarchy.
86for name, cls in inspect.getmembers(m5.objects, is_bp_class):
87 _bp_classes[name] = cls
88