summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVictor Raj <victor.raj@intel.com>2021-03-26 01:35:05 +0300
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-04-08 03:09:15 +0300
commit7fb09a737536fc7bff75c7018133acb30328ca07 (patch)
treebc2c8d65011d23f43aabec1d334a9cf878f3d445 /tools/perf/scripts/python
parent3056df93f7a83f456d20536c92260db0b1290ef5 (diff)
downloadlinux-7fb09a737536fc7bff75c7018133acb30328ca07.tar.xz
ice: Modify recursive way of adding nodes
Remove the recursive way of adding the nodes to the layer in order to reduce the stack usage. Instead the algorithm is modified to use a while loop. The previous code was scanning recursively the nodes horizontally. The total stack consumption will be based on number of nodes present on that layer. In some cases it can consume more stack. Signed-off-by: Victor Raj <victor.raj@intel.com> Tested-by: Tony Brelinski <tonyx.brelinski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions