Skip to content

Commit

Permalink
snabbmark: Refactor usage into README
Browse files Browse the repository at this point in the history
  • Loading branch information
lukego committed Feb 22, 2015
1 parent 1918f98 commit 9fd2851
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
7 changes: 7 additions & 0 deletions src/program/snabbmark/README
@@ -0,0 +1,7 @@
Usage:
snabbmark basic1 <npackets>
Benchmark basic app network packet flow.

snabbmark nfvconfig <pci-address> <config-file-x> <config-file-y> <n>
Benchmark loading <config-file-y> and transitioning from <config-file-x>
to <config-file-y> <n> times.
1 change: 1 addition & 0 deletions src/program/snabbmark/README.inc
10 changes: 1 addition & 9 deletions src/program/snabbmark/snabbmark.lua
@@ -1,14 +1,6 @@
module(..., package.seeall)

local usage = [[
Usage:
snabbmark basic1 <npackets>
Benchmark basic app network packet flow.
snabbmark nfvconfig <pci-address> <config-file-x> <config-file-y> <n>
Benchmark loading <config-file-y> and transitioning from <config-file-x>
to <config-file-y> <n> times.
]]
local usage = require("program.snabbmark.README_inc")

local basic_apps = require("apps.basic.basic_apps")
local C = require("ffi").C
Expand Down

0 comments on commit 9fd2851

Please sign in to comment.