Mentions légales du service

Skip to content
Snippets Groups Projects
Commit e46d22b3 authored by Augustin Degomme's avatar Augustin Degomme
Browse files

continuing the flood of your mailboxes

- a few warnings removed for windows again
- node selection while zooming now almost keeps the zoom (I don't get why the min changes a little bit, and don't know if it's possible to fix this)

new features:
-multithreaded Paje parser : this parser uses 3 threads :
   - the parsing thread to read the file and produce lines and tokens (lexical analysis), and aggregate them in blocks of 10000 lines 
   - the builder thread which handles these blocks of lines and calls store_event of the ParserEventPaje and transforms the tokens into the appropriate types, checks the correctness of the line (syntaxic analysis) but doesn't perform the calls to trace and the structural verifications 
  - the trace building thread which performs semantic analysis (if types, containers, exist) and performs the calls to the trace (adding events, states to the trace).

- file mapping : just for multithread version, the file is mapped into memory by chunks (100MB for the moment), which is faster and allows to handle larger files without using too much memory. The limit of 1Gb of the other version is removed, ViTE can now handle much larger files.


These features need more testing and feedback and can be activated at compile time by setting the flag MT_PARSING. 

note: the parser still uses a tokens number limit, this will be merged with the new version soon.


issues:
- gracefully stop parsing when cancel button is hit is not handled yet and causes segfaults
parent ead333e7
Branches
Tags
No related merge requests found
Showing
with 1713 additions and 14 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment