ONE-vscode icon indicating copy to clipboard operation
ONE-vscode copied to clipboard

Introduce Executor View

Open jyoungyun opened this issue 1 year ago • 3 comments

What

I would like to propose a new concept to support product file execution. Product file generated through compilation of cfg files with toolchain can execute multiple functions such as inference or profile. Now, product files can be inferred and profiled through ONE Explorer. However, considering the target device, it is not easy to express it as a toolchain and a target view. This is because the product file can be executed on the simulator of toolchain and the target device.

So I suggest the executor view. It includes a simulator of toolchain and a target device. Like tje toolchain view, the user can select the default executor. The default executor is then used to run the product file. When a user installs a new toolchain, a simulator is automatically added. It is natural scenario to add toolchain and simulator when installing a toolchain. (If not, I am also considering changing the name of Toolchain view as Compiler(?).)

Details

Toolchain view

  • For compilation
  • Item : Toolchains
  • Target file : config file (.cfg)
  • Support default toolchain
    • Basically, the default toolchain compiles the selected config file.

Executor view

  • For execution
  • Item : Simulator And Device target
  • Target file : product file
  • Support default executor
    • Basically, the default executor executes the product model file.

View design

introduce_executor_view_1

/cc @Samsung/one-vscode

jyoungyun avatar Jun 29 '23 04:06 jyoungyun

Could you give a detailed example for each views? How do you expect the trees look like?

My guess: Showing all the target files(==product files, *.tvn) in Executor view?

dayo09 avatar Jun 29 '23 07:06 dayo09

My guess: Showing all the target files(==product files, *.tvn) in Executor view?

Executor view contains the Simulator and device target. And all the target files (product files) in ONE Explorer can be inferred and profiled using the executor in Executor views.

~~I'd like to attach image file, but I can't attach it due to in-house policy. I will update the image as soon as possible.~~

I updated a Executor view image. :)

jyoungyun avatar Jun 29 '23 21:06 jyoungyun

@jyoungyun Thanks for the explanation. This is off-topic but how did you upload the image? I've been failing uploading it and I also failed to get URL exception approval from IT center.

dayo09 avatar Jun 30 '23 06:06 dayo09