Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
Ocarina
Commits
d40f3e4e
Commit
d40f3e4e
authored
Jan 16, 2016
by
yoogx
Browse files
* Use new Utils.Get_Core_Id function
parent
12a1da6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/backends/ocarina-backends-po_hi_c-main.adb
View file @
d40f3e4e
...
...
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2008-2009 Telecom ParisTech, 2010-201
5
ESA & ISAE. --
-- Copyright (C) 2008-2009 Telecom ParisTech, 2010-201
6
ESA & ISAE. --
-- --
-- Ocarina is free software; you can redistribute it and/or modify under --
-- terms of the GNU General Public License as published by the Free Soft- --
...
...
@@ -179,9 +179,7 @@ package body Ocarina.Backends.PO_HI_C.Main is
-- Add the core this thread is attached to
Core_Id
:=
Get_Core_Id
(
Get_Bound_Processor
(
Corresponding_Instance
(
Get_Container_Process
(
E
))));
Core_Id
:=
Utils
.
Get_Core_Id
(
E
);
N
:=
Make_Literal
(
New_Int_Value
(
Core_Id
,
1
,
10
));
Append_Node_To_List
(
N
,
Parameters
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment