output.cc (11359:b0b976a1ceda) output.cc (11793:ef606668d247)
1/*
2 * Copyright (c) 2015 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

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

39 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40 *
41 * Authors: Nathan Binkert
42 * Chris Emmons
43 * Andreas Sandberg
44 * Sascha Bischoff
45 */
46
1/*
2 * Copyright (c) 2015 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

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

39 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40 *
41 * Authors: Nathan Binkert
42 * Chris Emmons
43 * Andreas Sandberg
44 * Sascha Bischoff
45 */
46
47#include "base/output.hh"
48
49#include <dirent.h>
47#include <sys/stat.h>
48#include <sys/types.h>
50#include <sys/stat.h>
51#include <sys/types.h>
49#include <dirent.h>
50#include <unistd.h>
52#include <unistd.h>
53#include <zfstream.h>
51
52#include <cassert>
53#include <cerrno>
54#include <climits>
55#include <cstdlib>
56#include <fstream>
57
54
55#include <cassert>
56#include <cerrno>
57#include <climits>
58#include <cstdlib>
59#include <fstream>
60
58#include <zfstream.h>
59
60#include "base/misc.hh"
61#include "base/misc.hh"
61#include "base/output.hh"
62
63using namespace std;
64
65OutputDirectory simout;
66
67
68OutputStream::OutputStream(const std::string &name, std::ostream *stream)
69 : _name(name), _stream(stream)

--- 276 unchanged lines hidden ---
62
63using namespace std;
64
65OutputDirectory simout;
66
67
68OutputStream::OutputStream(const std::string &name, std::ostream *stream)
69 : _name(name), _stream(stream)

--- 276 unchanged lines hidden ---