trace.cc (11153:20bbfe5b2b86) trace.cc (11793:ef606668d247)
1/*
2 * Copyright (c) 2014 ARM Limited
3 * All rights reserved
4 *
5 * Copyright (c) 2001-2006 The Regents of The University of Michigan
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 *
31 * Authors: Nathan Binkert
32 * Steve Reinhardt
33 * Andrew Bardsley
34 */
35
1/*
2 * Copyright (c) 2014 ARM Limited
3 * All rights reserved
4 *
5 * Copyright (c) 2001-2006 The Regents of The University of Michigan
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 *
31 * Authors: Nathan Binkert
32 * Steve Reinhardt
33 * Andrew Bardsley
34 */
35
36#include "base/trace.hh"
37
36#include <cctype>
37#include <fstream>
38#include <iostream>
39#include <sstream>
40#include <string>
41
42#include "base/debug.hh"
43#include "base/misc.hh"
44#include "base/output.hh"
45#include "base/str.hh"
38#include <cctype>
39#include <fstream>
40#include <iostream>
41#include <sstream>
42#include <string>
43
44#include "base/debug.hh"
45#include "base/misc.hh"
46#include "base/output.hh"
47#include "base/str.hh"
46#include "base/trace.hh"
47
48const std::string &name()
49{
50 static const std::string default_name("global");
51
52 return default_name;
53}
54

--- 105 unchanged lines hidden ---
48
49const std::string &name()
50{
51 static const std::string default_name("global");
52
53 return default_name;
54}
55

--- 105 unchanged lines hidden ---