Skip to content

martynvdijke/gr-lora_sdr-profiler

Repository files navigation

gr-lora_sdr-profiler

Profile different flowgraph configurations of gr-lora_sdr

PyPI Version Build Status

Summary

This is a python cli package to be able to load a config yml file and change values to the flowgraph and run the flowgraph.

Installation

$ pip install gr_lora_sdr_profiler

Documentation

[-h] 
[--version] 
[-m {multi_stream,frame_detector-sim,frame_detector-usrp,cran-sim,cran-usrp}]
[-s {pandas,wandb,both}] 
[-n NAME] 
[-p FILE] 
[-o OUTPUT] 
[-t TIMEOUT] 
[--no_remove_temp]
[--sequential_spreading_factor]
[-v] 
[-vv] 
FILE [FILE ...]

Usage

config

the config files are parsed on launch of the script and are fed into the flowgraph script.

cli

Run flowgraph

$ python -m profiler --m frame_detector -s pandas example_config.yml 

Plot all values by using

$ python -m profiler --m frame_detector -p results/out.csv example_config.yml 

Development setup

$ python3 -m venv env
$ . env/bin/activate
$ make deps
$ tox

License

MIT

About

Simple profiler scripts for preformance meassuring of https://github.com/martynvdijke/gr-lora_sdr

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages