Skip to content
Snippets Groups Projects
Commit 14a8c2ef authored by rtalbi's avatar rtalbi
Browse files

reverted from the big keys thingy

parent 6931046b
No related branches found
No related tags found
No related merge requests found
...@@ -12,13 +12,8 @@ ...@@ -12,13 +12,8 @@
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="2624f523-8bdb-4867-a32b-0c8fa25f5cda" name="Default" comment="reverted from the big keys thingy"> <list default="true" id="2624f523-8bdb-4867-a32b-0c8fa25f5cda" name="Default" comment="reverted from the big keys thingy">
<change afterPath="$PROJECT_DIR$/Scripts/vary_cores.sh" afterDir="false" />
<change afterPath="$PROJECT_DIR$/Scripts/vary_th.sh" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/CONFIG/DAPPLE.config" beforeDir="false" afterPath="$PROJECT_DIR$/CONFIG/DAPPLE.config" afterDir="false" /> <change beforePath="$PROJECT_DIR$/Scripts/vary_cores.sh" beforeDir="false" afterPath="$PROJECT_DIR$/Scripts/vary_cores.sh" afterDir="false" />
<change beforePath="$PROJECT_DIR$/SER/dtpkc.ser" beforeDir="false" afterPath="$PROJECT_DIR$/SER/dtpkc.ser" afterDir="false" />
<change beforePath="$PROJECT_DIR$/TEST/main.cpp" beforeDir="false" afterPath="$PROJECT_DIR$/TEST/main.cpp" afterDir="false" />
<change beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/DAPPLE.dir/CXX.includecache" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/DAPPLE.dir/CXX.includecache" afterDir="false" />
</list> </list>
<ignored path="$PROJECT_DIR$/cmake-build-debug/" /> <ignored path="$PROJECT_DIR$/cmake-build-debug/" />
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
...@@ -42,11 +37,11 @@ ...@@ -42,11 +37,11 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file pinned="false" current-in-tab="true"> <file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/Scripts/vary_th.sh"> <entry file="file://$PROJECT_DIR$/Scripts/vary_th.sh">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="60"> <state relative-caret-position="120">
<caret line="4" column="2" selection-start-line="4" selection-start-column="2" selection-end-line="4" selection-end-column="2" /> <caret line="8" column="20" selection-start-line="8" selection-start-column="20" selection-end-line="8" selection-end-column="20" />
</state> </state>
</provider> </provider>
</entry> </entry>
...@@ -74,11 +69,11 @@ ...@@ -74,11 +69,11 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file pinned="false" current-in-tab="false"> <file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/Scripts/vary_cores.sh"> <entry file="file://$PROJECT_DIR$/Scripts/vary_cores.sh">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="213"> <state relative-caret-position="180">
<caret line="23" column="19" selection-start-line="23" selection-start-column="19" selection-end-line="23" selection-end-column="19" /> <caret line="30" column="13" lean-forward="true" selection-start-line="30" selection-start-column="13" selection-end-line="30" selection-end-column="13" />
</state> </state>
</provider> </provider>
</entry> </entry>
...@@ -228,8 +223,8 @@ ...@@ -228,8 +223,8 @@
<option value="$PROJECT_DIR$/PPML/PPVFDT/PPVFDT_Classifier.cpp" /> <option value="$PROJECT_DIR$/PPML/PPVFDT/PPVFDT_Classifier.cpp" />
<option value="$PROJECT_DIR$/TEST/main.cpp" /> <option value="$PROJECT_DIR$/TEST/main.cpp" />
<option value="$PROJECT_DIR$/CONFIG/DAPPLE.config" /> <option value="$PROJECT_DIR$/CONFIG/DAPPLE.config" />
<option value="$PROJECT_DIR$/Scripts/vary_cores.sh" />
<option value="$PROJECT_DIR$/Scripts/vary_th.sh" /> <option value="$PROJECT_DIR$/Scripts/vary_th.sh" />
<option value="$PROJECT_DIR$/Scripts/vary_cores.sh" />
</list> </list>
</option> </option>
</component> </component>
...@@ -364,14 +359,7 @@ ...@@ -364,14 +359,7 @@
<workItem from="1552931493084" duration="5145000" /> <workItem from="1552931493084" duration="5145000" />
<workItem from="1552994541482" duration="9723000" /> <workItem from="1552994541482" duration="9723000" />
<workItem from="1553007955339" duration="1591000" /> <workItem from="1553007955339" duration="1591000" />
<workItem from="1553268525251" duration="7665000" /> <workItem from="1553268525251" duration="8700000" />
</task>
<task id="LOCAL-00001" summary="30/10/2018">
<created>1540922922053</created>
<option name="number" value="00001" />
<option name="presentableId" value="LOCAL-00001" />
<option name="project" value="LOCAL" />
<updated>1540922922053</updated>
</task> </task>
<task id="LOCAL-00002" summary="30/10/2018"> <task id="LOCAL-00002" summary="30/10/2018">
<created>1540923663786</created> <created>1540923663786</created>
...@@ -702,11 +690,25 @@ ...@@ -702,11 +690,25 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1553184564649</updated> <updated>1553184564649</updated>
</task> </task>
<option name="localTasksCounter" value="49" /> <task id="LOCAL-00049" summary="reverted from the big keys thingy">
<created>1553276338628</created>
<option name="number" value="00049" />
<option name="presentableId" value="LOCAL-00049" />
<option name="project" value="LOCAL" />
<updated>1553276338628</updated>
</task>
<task id="LOCAL-00050" summary="reverted from the big keys thingy">
<created>1553276671944</created>
<option name="number" value="00050" />
<option name="presentableId" value="LOCAL-00050" />
<option name="project" value="LOCAL" />
<updated>1553276671952</updated>
</task>
<option name="localTasksCounter" value="51" />
<servers /> <servers />
</component> </component>
<component name="TimeTrackingManager"> <component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="641746000" /> <option name="totallyTimeSpent" value="642781000" />
</component> </component>
<component name="TodoView"> <component name="TodoView">
<todo-panel id="selected-file"> <todo-panel id="selected-file">
...@@ -719,6 +721,7 @@ ...@@ -719,6 +721,7 @@
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="67" y="25" width="1355" height="678" extended-state="6" /> <frame x="67" y="25" width="1355" height="678" extended-state="6" />
<editor active="true" />
<layout> <layout>
<window_info active="true" content_ui="combo" id="Project" order="0" sideWeight="0.8053333" visible="true" weight="0.28113064" /> <window_info active="true" content_ui="combo" id="Project" order="0" sideWeight="0.8053333" visible="true" weight="0.28113064" />
<window_info id="Structure" order="1" sideWeight="0.2735043" side_tool="true" weight="0.3390558" /> <window_info id="Structure" order="1" sideWeight="0.2735043" side_tool="true" weight="0.3390558" />
...@@ -1398,17 +1401,17 @@ ...@@ -1398,17 +1401,17 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/Scripts/vary_cores.sh"> <entry file="file://$PROJECT_DIR$/Scripts/vary_th.sh">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="213"> <state relative-caret-position="120">
<caret line="23" column="19" selection-start-line="23" selection-start-column="19" selection-end-line="23" selection-end-column="19" /> <caret line="8" column="20" selection-start-line="8" selection-start-column="20" selection-end-line="8" selection-end-column="20" />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/Scripts/vary_th.sh"> <entry file="file://$PROJECT_DIR$/Scripts/vary_cores.sh">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="60"> <state relative-caret-position="180">
<caret line="4" column="2" selection-start-line="4" selection-start-column="2" selection-end-line="4" selection-end-column="2" /> <caret line="30" column="13" lean-forward="true" selection-start-line="30" selection-start-column="13" selection-end-line="30" selection-end-column="13" />
</state> </state>
</provider> </provider>
</entry> </entry>
......
...@@ -4,6 +4,17 @@ maxCores=$1 ...@@ -4,6 +4,17 @@ maxCores=$1
threads=$2 threads=$2
cpt=$maxCores cpt=$maxCores
while [ $cpt -gt 0 ]
do
echo reset $cpt
cmd="echo 1 | sudo tee /sys/devices/system/cpu/cpu"$cpt"/online"
echo $cmd
bash -c $cmd
cpt=$(( $cpt - 1 ))
done
while [ $cpt -gt 0 ] while [ $cpt -gt 0 ]
do do
echo runing with $cpt cores echo runing with $cpt cores
...@@ -15,6 +26,7 @@ cmd="echo 0 | sudo tee /sys/devices/system/cpu/cpu"$cpt"/online" ...@@ -15,6 +26,7 @@ cmd="echo 0 | sudo tee /sys/devices/system/cpu/cpu"$cpt"/online"
echo $cmd echo $cmd
bash -c $cmd bash -c $cmd
done done
echo "reseting..." echo "reseting..."
cpt=$maxCores cpt=$maxCores
while [ $cpt -gt 0 ] while [ $cpt -gt 0 ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment