Add copyright headers to all the files
diff --git a/cr2/__init__.py b/cr2/__init__.py
index 6206282..6e3a248 100644
--- a/cr2/__init__.py
+++ b/cr2/__init__.py
@@ -1,4 +1,18 @@
#!/usr/bin/python
+# $Copyright:
+# ----------------------------------------------------------------
+# This confidential and proprietary software may be used only as
+# authorised by a licensing agreement from ARM Limited
+# (C) COPYRIGHT 2015 ARM Limited
+# ALL RIGHTS RESERVED
+# The entire notice above must be reproduced on all authorised
+# copies and copies may only be made to the extent permitted
+# by a licensing agreement from ARM Limited.
+# ----------------------------------------------------------------
+# File: __init__.py
+# ----------------------------------------------------------------
+# $
+#
from run import Run
from results import CR2, get_results, combine_results
diff --git a/cr2/base.py b/cr2/base.py
index 0f850a4..5eac202 100644
--- a/cr2/base.py
+++ b/cr2/base.py
@@ -1,4 +1,18 @@
#!/usr/bin/python
+# $Copyright:
+# ----------------------------------------------------------------
+# This confidential and proprietary software may be used only as
+# authorised by a licensing agreement from ARM Limited
+# (C) COPYRIGHT 2015 ARM Limited
+# ALL RIGHTS RESERVED
+# The entire notice above must be reproduced on all authorised
+# copies and copies may only be made to the extent permitted
+# by a licensing agreement from ARM Limited.
+# ----------------------------------------------------------------
+# File: base.py
+# ----------------------------------------------------------------
+# $
+#
"""Base class to parse trace.dat dumps"""
import os
diff --git a/cr2/pid_controller.py b/cr2/pid_controller.py
index 2fb2aef..e5ad113 100644
--- a/cr2/pid_controller.py
+++ b/cr2/pid_controller.py
@@ -1,4 +1,18 @@
#!/usr/bin/python
+# $Copyright:
+# ----------------------------------------------------------------
+# This confidential and proprietary software may be used only as
+# authorised by a licensing agreement from ARM Limited
+# (C) COPYRIGHT 2015 ARM Limited
+# ALL RIGHTS RESERVED
+# The entire notice above must be reproduced on all authorised
+# copies and copies may only be made to the extent permitted
+# by a licensing agreement from ARM Limited.
+# ----------------------------------------------------------------
+# File: pid_controller.py
+# ----------------------------------------------------------------
+# $
+#
"""Process the output of the power allocator's PID controller in the
current directory's trace.dat"""
diff --git a/cr2/plot_utils.py b/cr2/plot_utils.py
index a939897..9e0c517 100644
--- a/cr2/plot_utils.py
+++ b/cr2/plot_utils.py
@@ -1,4 +1,18 @@
#!/usr/bin/python
+# $Copyright:
+# ----------------------------------------------------------------
+# This confidential and proprietary software may be used only as
+# authorised by a licensing agreement from ARM Limited
+# (C) COPYRIGHT 2015 ARM Limited
+# ALL RIGHTS RESERVED
+# The entire notice above must be reproduced on all authorised
+# copies and copies may only be made to the extent permitted
+# by a licensing agreement from ARM Limited.
+# ----------------------------------------------------------------
+# File: plot_utils.py
+# ----------------------------------------------------------------
+# $
+#
"""Small functions to help with plots"""
from matplotlib import pyplot as plt
diff --git a/cr2/plotter/AbstractDataPlotter.py b/cr2/plotter/AbstractDataPlotter.py
index 41fb3d5..4f72751 100644
--- a/cr2/plotter/AbstractDataPlotter.py
+++ b/cr2/plotter/AbstractDataPlotter.py
@@ -1,3 +1,17 @@
+# $Copyright:
+# ----------------------------------------------------------------
+# This confidential and proprietary software may be used only as
+# authorised by a licensing agreement from ARM Limited
+# (C) COPYRIGHT 2015 ARM Limited
+# ALL RIGHTS RESERVED
+# The entire notice above must be reproduced on all authorised
+# copies and copies may only be made to the extent permitted
+# by a licensing agreement from ARM Limited.
+# ----------------------------------------------------------------
+# File: AbstractDataPlotter.py
+# ----------------------------------------------------------------
+# $
+#
"""This is the template class that all Plotters inherit"""
from abc import abstractmethod
# pylint: disable=R0921
diff --git a/cr2/plotter/AttrConf.py b/cr2/plotter/AttrConf.py
index 2fa494b..f9bf363 100644
--- a/cr2/plotter/AttrConf.py
+++ b/cr2/plotter/AttrConf.py
@@ -1,3 +1,17 @@
+# $Copyright:
+# ----------------------------------------------------------------
+# This confidential and proprietary software may be used only as
+# authorised by a licensing agreement from ARM Limited
+# (C) COPYRIGHT 2015 ARM Limited
+# ALL RIGHTS RESERVED
+# The entire notice above must be reproduced on all authorised
+# copies and copies may only be made to the extent permitted
+# by a licensing agreement from ARM Limited.
+# ----------------------------------------------------------------
+# File: AttrConf.py
+# ----------------------------------------------------------------
+# $
+#
"""These are the default plotting Attributes"""
WIDTH = 7
LENGTH = 7
diff --git a/cr2/plotter/ColorMap.py b/cr2/plotter/ColorMap.py
index d280688..0b43f5b 100644
--- a/cr2/plotter/ColorMap.py
+++ b/cr2/plotter/ColorMap.py
@@ -1,3 +1,17 @@
+# $Copyright:
+# ----------------------------------------------------------------
+# This confidential and proprietary software may be used only as
+# authorised by a licensing agreement from ARM Limited
+# (C) COPYRIGHT 2015 ARM Limited
+# ALL RIGHTS RESERVED
+# The entire notice above must be reproduced on all authorised
+# copies and copies may only be made to the extent permitted
+# by a licensing agreement from ARM Limited.
+# ----------------------------------------------------------------
+# File: ColorMap.py
+# ----------------------------------------------------------------
+# $
+#
"""Defines a generic indexable ColorMap Class"""
import matplotlib.colors as clrs
import matplotlib.cm as cmx
diff --git a/cr2/plotter/Constraint.py b/cr2/plotter/Constraint.py
index 2731389..9910cdc 100644
--- a/cr2/plotter/Constraint.py
+++ b/cr2/plotter/Constraint.py
@@ -1,3 +1,17 @@
+# $Copyright:
+# ----------------------------------------------------------------
+# This confidential and proprietary software may be used only as
+# authorised by a licensing agreement from ARM Limited
+# (C) COPYRIGHT 2015 ARM Limited
+# ALL RIGHTS RESERVED
+# The entire notice above must be reproduced on all authorised
+# copies and copies may only be made to the extent permitted
+# by a licensing agreement from ARM Limited.
+# ----------------------------------------------------------------
+# File: Constraint.py
+# ----------------------------------------------------------------
+# $
+#
"""This module provides the Constraint class for handling
filters and pivots in a modular fashion. This enable easy
constrain application
diff --git a/cr2/plotter/LinePlot.py b/cr2/plotter/LinePlot.py
index 5187499..2dda484 100644
--- a/cr2/plotter/LinePlot.py
+++ b/cr2/plotter/LinePlot.py
@@ -1,3 +1,17 @@
+# $Copyright:
+# ----------------------------------------------------------------
+# This confidential and proprietary software may be used only as
+# authorised by a licensing agreement from ARM Limited
+# (C) COPYRIGHT 2015 ARM Limited
+# ALL RIGHTS RESERVED
+# The entire notice above must be reproduced on all authorised
+# copies and copies may only be made to the extent permitted
+# by a licensing agreement from ARM Limited.
+# ----------------------------------------------------------------
+# File: LinePlot.py
+# ----------------------------------------------------------------
+# $
+#
"""This module contains the class for plotting and
customizing Line Plots with a pandas dataframe input
"""
diff --git a/cr2/plotter/PlotLayout.py b/cr2/plotter/PlotLayout.py
index e354794..65051ec 100644
--- a/cr2/plotter/PlotLayout.py
+++ b/cr2/plotter/PlotLayout.py
@@ -1,3 +1,17 @@
+# $Copyright:
+# ----------------------------------------------------------------
+# This confidential and proprietary software may be used only as
+# authorised by a licensing agreement from ARM Limited
+# (C) COPYRIGHT 2015 ARM Limited
+# ALL RIGHTS RESERVED
+# The entire notice above must be reproduced on all authorised
+# copies and copies may only be made to the extent permitted
+# by a licensing agreement from ARM Limited.
+# ----------------------------------------------------------------
+# File: PlotLayout.py
+# ----------------------------------------------------------------
+# $
+#
"""This module is reponsible for creating a layout
of plots as a 2D axes and handling corener cases
and deleting empty plots
diff --git a/cr2/plotter/Utils.py b/cr2/plotter/Utils.py
index 10f9f53..6da985b 100644
--- a/cr2/plotter/Utils.py
+++ b/cr2/plotter/Utils.py
@@ -1,3 +1,17 @@
+# $Copyright:
+# ----------------------------------------------------------------
+# This confidential and proprietary software may be used only as
+# authorised by a licensing agreement from ARM Limited
+# (C) COPYRIGHT 2015 ARM Limited
+# ALL RIGHTS RESERVED
+# The entire notice above must be reproduced on all authorised
+# copies and copies may only be made to the extent permitted
+# by a licensing agreement from ARM Limited.
+# ----------------------------------------------------------------
+# File: Utils.py
+# ----------------------------------------------------------------
+# $
+#
"""Utils module has generic utils that will be used across
objects
"""
diff --git a/cr2/plotter/__init__.py b/cr2/plotter/__init__.py
index 4f71278..c2a7f73 100644
--- a/cr2/plotter/__init__.py
+++ b/cr2/plotter/__init__.py
@@ -1,3 +1,17 @@
+# $Copyright:
+# ----------------------------------------------------------------
+# This confidential and proprietary software may be used only as
+# authorised by a licensing agreement from ARM Limited
+# (C) COPYRIGHT 2015 ARM Limited
+# ALL RIGHTS RESERVED
+# The entire notice above must be reproduced on all authorised
+# copies and copies may only be made to the extent permitted
+# by a licensing agreement from ARM Limited.
+# ----------------------------------------------------------------
+# File: __init__.py
+# ----------------------------------------------------------------
+# $
+#
"""Init Module for the Plotter Code"""
diff --git a/cr2/power.py b/cr2/power.py
index 48ddee0..590255a 100644
--- a/cr2/power.py
+++ b/cr2/power.py
@@ -1,4 +1,18 @@
#!/usr/bin/python
+# $Copyright:
+# ----------------------------------------------------------------
+# This confidential and proprietary software may be used only as
+# authorised by a licensing agreement from ARM Limited
+# (C) COPYRIGHT 2015 ARM Limited
+# ALL RIGHTS RESERVED
+# The entire notice above must be reproduced on all authorised
+# copies and copies may only be made to the extent permitted
+# by a licensing agreement from ARM Limited.
+# ----------------------------------------------------------------
+# File: power.py
+# ----------------------------------------------------------------
+# $
+#
"""Process the output of the cpu_cooling devices in the current
directory's trace.dat"""
diff --git a/cr2/results.py b/cr2/results.py
index 7de1f2b..ced825c 100644
--- a/cr2/results.py
+++ b/cr2/results.py
@@ -1,4 +1,18 @@
#!/usr/bin/python
+# $Copyright:
+# ----------------------------------------------------------------
+# This confidential and proprietary software may be used only as
+# authorised by a licensing agreement from ARM Limited
+# (C) COPYRIGHT 2015 ARM Limited
+# ALL RIGHTS RESERVED
+# The entire notice above must be reproduced on all authorised
+# copies and copies may only be made to the extent permitted
+# by a licensing agreement from ARM Limited.
+# ----------------------------------------------------------------
+# File: results.py
+# ----------------------------------------------------------------
+# $
+#
"""Compare runs 2
Second version of the compare runs script, to compare two traces of
diff --git a/cr2/run.py b/cr2/run.py
index 6acdd51..6e6f12d 100644
--- a/cr2/run.py
+++ b/cr2/run.py
@@ -1,4 +1,18 @@
#!/usr/bin/python
+# $Copyright:
+# ----------------------------------------------------------------
+# This confidential and proprietary software may be used only as
+# authorised by a licensing agreement from ARM Limited
+# (C) COPYRIGHT 2015 ARM Limited
+# ALL RIGHTS RESERVED
+# The entire notice above must be reproduced on all authorised
+# copies and copies may only be made to the extent permitted
+# by a licensing agreement from ARM Limited.
+# ----------------------------------------------------------------
+# File: run.py
+# ----------------------------------------------------------------
+# $
+#
import os
import re
diff --git a/cr2/sched.py b/cr2/sched.py
index c825975..c76ef70 100644
--- a/cr2/sched.py
+++ b/cr2/sched.py
@@ -1,4 +1,18 @@
#!/usr/bin/python
+# $Copyright:
+# ----------------------------------------------------------------
+# This confidential and proprietary software may be used only as
+# authorised by a licensing agreement from ARM Limited
+# (C) COPYRIGHT 2015 ARM Limited
+# ALL RIGHTS RESERVED
+# The entire notice above must be reproduced on all authorised
+# copies and copies may only be made to the extent permitted
+# by a licensing agreement from ARM Limited.
+# ----------------------------------------------------------------
+# File: sched.py
+# ----------------------------------------------------------------
+# $
+#
from base import Base
diff --git a/cr2/thermal.py b/cr2/thermal.py
index 67b9f6c..fdc5c70 100644
--- a/cr2/thermal.py
+++ b/cr2/thermal.py
@@ -1,4 +1,18 @@
#!/usr/bin/python
+# $Copyright:
+# ----------------------------------------------------------------
+# This confidential and proprietary software may be used only as
+# authorised by a licensing agreement from ARM Limited
+# (C) COPYRIGHT 2015 ARM Limited
+# ALL RIGHTS RESERVED
+# The entire notice above must be reproduced on all authorised
+# copies and copies may only be made to the extent permitted
+# by a licensing agreement from ARM Limited.
+# ----------------------------------------------------------------
+# File: thermal.py
+# ----------------------------------------------------------------
+# $
+#
"""Process the output of the power allocator trace in the current
directory's trace.dat"""