Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFS
controller
Commits
2e3de3b8
Commit
2e3de3b8
authored
2 years ago
by
Lluis Gifre Renom
Browse files
Options
Downloads
Patches
Plain Diff
PathComp backend:
- Implemented temporary hack to reduce memory used
parent
e8a635e9
No related branches found
No related tags found
1 merge request
!54
Release 2.0.0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/pathcomp/backend/pathComp_tools.h
+5
-5
5 additions, 5 deletions
src/pathcomp/backend/pathComp_tools.h
with
5 additions
and
5 deletions
src/pathcomp/backend/pathComp_tools.h
+
5
−
5
View file @
2e3de3b8
////////////////////////////////////////////////////////////////////////////////////////
/**
* # Copyright 2022 Centre Tecnològic de Telecomunicacions de Catalunya (CTTC/CERCA) www.cttc.es
* # Copyright 2022 Centre Tecnol
�
gic de Telecomunicacions de Catalunya (CTTC/CERCA) www.cttc.es
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
...
...
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
* Author: CTTC/CERCA PONS RU Ricardo Martínez (ricardo.martinez@cttc.es)
* Author: CTTC/CERCA PONS RU Ricardo Mart
�
nez (ricardo.martinez@cttc.es)
*/
/////////////////////////////////////////////////////////////////////////////////////////
...
...
@@ -110,8 +110,8 @@ struct map_nodes_t {
gint
numMapNodes
;
};
#define MAX_NUM_VERTICES 10
0
#define MAX_NUM_EDGES 10
0
#define MAX_NUM_VERTICES 10
// 100 # LGR: reduced from 100 to 10 to divide by 10 the memory used
#define MAX_NUM_EDGES 10
// 100 # LGR: reduced from 100 to 10 to divide by 10 the memory used
// Structures for the graph composition
struct
targetNodes_t
{
// remote / targeted node
...
...
@@ -144,7 +144,7 @@ struct context_t {
////////////////////////////////////////////////////
// Structure for the Set of Contexts
///////////////////////////////////////////////////
#define MAX_NUMBER_CONTEXT
100
#define MAX_NUMBER_CONTEXT
5 // 100 # LGR: reduced from 100 to 5 to divide by 20 the memory used
struct
contextSet_t
{
struct
context_t
contextList
[
MAX_NUMBER_CONTEXT
];
gint
num_context_set
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment